Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
teaching:progappchim:presentation_principes [2021/02/01 16:17] – villersd | teaching:progappchim:presentation_principes [2023/02/21 14:56] (Version actuelle) – villersd | ||
---|---|---|---|
Ligne 162: | Ligne 162: | ||
>>> | >>> | ||
</ | </ | ||
- | * Commandes : copyrigth, credits, license(), quit, help, help(),... | + | * Commandes : copyright, credits, license(), quit, help, help(),... |
==== Notion de variable ==== | ==== Notion de variable ==== | ||
Ligne 279: | Ligne 279: | ||
==== Opérations sur les chaînes ==== | ==== Opérations sur les chaînes ==== | ||
< | < | ||
- | >>> | + | >>> |
>>> | >>> | ||
- | ’ 15 septembre 2009’ | + | ' |
- | >>> | + | >>> |
6 | 6 | ||
>>> | >>> | ||
- | [’Mons,’, ’le’, ’15’, ’septembre’, ’2009’] | + | ['Mons,', 'le', '15', 'septembre', '2009'] |
>>> | >>> | ||
- | ’MONS, LE 15 SEPTEMBRE 2009’ | + | 'MONS, LE 15 SEPTEMBRE 2009' |
>>> | >>> | ||
- | ’Mons, | + | 'Mons, |
>>> | >>> | ||
</ | </ | ||
Ligne 478: | Ligne 478: | ||
for i in a: | for i in a: | ||
for j in a: | for j in a: | ||
- | print(i*j,) | + | print(i*j, |
print(' | print(' | ||
</ | </ | ||
Ligne 707: | Ligne 707: | ||
==== tkinter : tkDemo, demonstration of Tk widgets ==== | ==== tkinter : tkDemo, demonstration of Tk widgets ==== | ||
- | FIXME : ? version python 3 ? | + | FIXME : ? tkdemo était proposé pour la branche 2 de Python. Rechercher pour la version python 3 ? |
Voir par exemple [[https:// | Voir par exemple [[https:// | ||
+ | |||
+ | |||
==== Graphiques simples avec matplotlib ==== | ==== Graphiques simples avec matplotlib ==== | ||
<code python> | <code python> |