Collection of less popular features and tricks for Python.
- Trick [1]: Reversing a string in Python
- Trick [2]: Transposing a Matrix
- Trick [3]: Store all values of the list in new variables
- Trick [4]: Create a single string from all list elements
- Trick [5]: Mixing two lists
- Trick [6]: Swap two numbers with one line of code
- Trick [7]: Flatten list of lists
- Trick [8]: Checking if two words are anagrams
- Trick [9]: Take a string input
- Trick [10]: List Tricks 101
- Trick [11]: String Tricks 101
- Trick [11]: Mix Tricks
- Trick [12]: Mix Tricks Python 2.7 Models
- Trick [13]: itertools.permutations() generates permutations.
- Trick [14]: Finding the most common elements in an iterable.
PyTricks repo https://github.com/Shokr/PyTricks