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/01 12:50] – [STUFF] rpjdaypython [2020/06/17 14:40] (current) rpjday
Line 6: Line 6:
  
 ... coming ... ... coming ...
 +
 +===== Internal links =====
 +
 +  * [[Python_file_hierarchy]]
  
 ===== Packages ===== ===== Packages =====
Line 16: Line 20:
 $ $
 </code> </code>
 +
 +===== Online tutorial =====
 +
 +==== 3 ====
 +
 +  * string operations
 +  * string slices
 +
 +==== 4 ====
 +
 +  * "else" clause on loop constructs
 +  * range() function is an "iterable"
 +  * keyword arguments
 +  * lambda expressions
 +  * docstrings
 +  * function annotation(???)
 +
 +==== 5 Data structures ====
 +
 +  * lists
 +  * "import collections" (deque)
 +  * 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 =====
  
 +  * string method join()
   * data types, numbers, literals   * data types, numbers, literals
   * "_" as last value interactively   * "_" as last value interactively
  • python.1564663837.txt.gz
  • Last modified: 2019/08/01 12:50
  • by rpjday