python:programmes:indentation
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| python:programmes:indentation [2012/02/11 22:56] – root | python:programmes:indentation [2013/03/12 23:06] (Version actuelle) – root | ||
|---|---|---|---|
| Ligne 8: | Ligne 8: | ||
| ./ | ./ | ||
| - | < | + | < |
| # | # | ||
| Ligne 16: | Ligne 16: | ||
| print(sys.argv[0] + \ | print(sys.argv[0] + \ | ||
| """ | """ | ||
| - | where type indent | + | where type_indent |
| - | * tab for adding tabs | + | * tab for adding tabs (default) |
| * space for adding spaces | * space for adding spaces | ||
| + | |||
| + | where count is the number of type_indent : | ||
| + | * int (1 by default) | ||
| | | ||
| Ex : """ | Ex : """ | ||
python/programmes/indentation.1329001009.txt.gz · Dernière modification : de root
