Python: Key Notes
4:08 pm on March 4th, 2010 | General
Level: Beginner – Intermediate
Some of the key concepts that I’m taking down as notes, while I was brush up my Python. I’ll keep updating this page as I move along.
- Immutability of Strings
- To find methods available with a specific object: dir(objectName)
- Pattern matching: import re
- Python (nested)lists → (multi-dimensional)arrays in other programming languages
- Python Dictionaries → Java HashMap but more awesome, minus the java craziness.
- Iteration Protocol
- Tuples → Immutable Lists [ Ex: T=(1,2,3,4) ] Concatenation, indexing, slicing,etc., works.
- Python Dictionaries → Java HashMap but more awesome, minus the java craziness.
- Iteration Protocol
- Tuples → Immutable Lists [Ex: T=(1,2,3,4)] Concatenation, indexing, slicing,etc., works




