User Tools

Site Tools


python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
python [2019/08/09 11:51]
rpjday [5 Data structures]
python [2020/06/17 14:40]
rpjday
Line 6: Line 6:
  
 ... coming ... ... coming ...
 +
 +===== Internal links =====
 +
 +  * [[Python_file_hierarchy]]
  
 ===== Packages ===== ===== Packages =====
Line 38: Line 42:
   * "​import collections"​ (deque)   * "​import collections"​ (deque)
   * list comprehensions   * list comprehensions
 +  * set
 +  * dictionary
 +    * key can be any immutable type
 +    * "​list(d)"​ returns list of keys
 +  * "​enumerate()"​ routine for any sequence
 +  * "​zip()"​ to iterate over two sequences simultaneously
  
 ===== TOPICS ===== ===== TOPICS =====
python.txt ยท Last modified: 2020/06/17 14:40 by rpjday