python_cheat_sheet
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
python_cheat_sheet [2010/06/28 16:12] – ginko | python_cheat_sheet [2015/01/02 13:03] (current) – ginko | ||
---|---|---|---|
Line 9: | Line 9: | ||
* Argv: (nécessite l' | * Argv: (nécessite l' | ||
* Il existe aussi une implémentation de getopt (//cf//. [[http:// | * Il existe aussi une implémentation de getopt (//cf//. [[http:// | ||
+ | ===== Packaging ===== | ||
+ | * Encapsulation pour librairie autonome <code python> | ||
+ | main()</ | ||
===== Variables ===== | ===== Variables ===== | ||
* Listes (mutable)< | * Listes (mutable)< | ||
Line 44: | Line 46: | ||
* Prompt au shell: <code python> | * Prompt au shell: <code python> | ||
+ | Pour travavailler avec les chemins de fichiers : '' | ||
===== Structure de code ===== | ===== Structure de code ===== | ||
* Boucle '' | * Boucle '' |
python_cheat_sheet.1277734356.txt.gz · Last modified: 2010/06/28 16:12 by ginko