/Python-Tips-And-Tricks

Tips for Python developers of all levels

Primary LanguagePythonMIT LicenseMIT

Disclaimer:

The code provided here demonstrates the usage of the exec() function in Python for educational purposes only. By providing this code, no responsibility or liability is assumed for any consequences arising from its use. The user is solely responsible for understanding the risks associated with executing dynamic code and should exercise caution when running code provided by others.

Python-Tips-And-Tricks

Summary

'Pyton Tip And Tricks' was created to give some simple but effective tips in python. You can easily understand these content by examining the codes and looking at the outputs. There are also short explanations and citation links for tips. Although it is a simple content, basic python knowledge will make it easier for you to understand and use this content.

Topics Links Level
Lambda https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/lambda_github.py All Levels
For Loop https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/for_else_loop_github.py Beginner
Reversing Lists And Strings https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/slicing_list_github.py Beginner
Difference of sort() and sorted() https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/difference_of%20_sort_and_sorted_github.py Beginner
Useful Function - sorted() https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/sorted_function_github.py Beginner
Useful Function - insort from bisect library https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/sort_with_bisect_github.py Beginner
Useful Function - enumerate() https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/enumerate_github.py Beginner
Useful Function - join() https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/join_func_github.py Beginner
Useful Function - set() https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/set_func_github.py Beginner
Useful Function - frozenset() https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/frozenset_github.py Beginner
Useful Function - zip() https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/zip_func_github.py Beginner
Useful Function - bin() https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/bin_func_github.py Beginner
Useful Function - min() https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/min_func_github.py Beginner
Useful Function - filter() https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/filter_github.py Beginner
Memory Usage Check https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/memory_usage_check_github.py Intermediate
Variables https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/mutable-immutable_github.py Intermediate
is or == https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/difference_between_%20%3D%3D_and%20_is_github.py Intermediate
Merging Dictionaries https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/merge_dictionaries_github.py Intermediate
Heap https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/heap_github.py Intermediate
Flatten a list https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/flatten_a_list_github.py Intermediate
File Operations https://github.com/BetulKarakaya/Python-Tips-And-Tricks/tree/main/Open%20File%20With%20'with'%20And%20'strip()'%20Method Intermediate
Function https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/first_class_function_github.py Advanced
Function https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/closures_github.py Advanced
Memoization https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/memoization_github.py Advanced
Effective Use Of Memory https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/generators_github.py Advanced
Useful Function - exec() https://github.com/BetulKarakaya/Python-Tips-And-Tricks/blob/main/exec.py Advanced

Additional Resources

For more detailed information and resources on the topics covered in this repository, consider referring to the following sources:

License

MIT