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 [2018/02/06 11:19] – [Slide 15] villersd | teaching:progappchim:presentation_principes [2023/02/21 14:56] (Version actuelle) – villersd | ||
---|---|---|---|
Ligne 32: | Ligne 32: | ||
<WRAP group> | <WRAP group> | ||
<WRAP half column> | <WRAP half column> | ||
- | <diagram> | + | <flowchartjs default> |
- | | AAA | |AAA{border-color:black; | + | |
- | | |!@4| | AB |AB{border-color: | + | |
- | | BBB | | | | | | | | | | |BBB{border-color:black; | + | |
- | | |!@4| | BC |BC{border-color: | + | |
- | | CCC | | | | | | | | | | |CCC{border-color:black; | + | |
- | </diagram> | + | |
+ | box1-> | ||
+ | </flowchartjs> | ||
</ | </ | ||
<WRAP half column> | <WRAP half column> | ||
Ligne 50: | Ligne 52: | ||
<WRAP group> | <WRAP group> | ||
<WRAP half column> | <WRAP half column> | ||
- | <diagram> | + | <flowchartjs default> |
- | | AAA | |AAA{border-color:black; | + | |
- | | |!@4| | AB |AB{border-color: | + | |
- | | BBB | | | | | | | | | | |BBB{border-color:black; | + | |
- | </diagram> | + | |
+ | box1->box2 | ||
+ | </flowchartjs> | ||
</ | </ | ||
<WRAP half column> | <WRAP half column> | ||
Ligne 69: | Ligne 73: | ||
<WRAP group> | <WRAP group> | ||
<WRAP half column> | <WRAP half column> | ||
- | <diagram> | + | <flowchartjs default> |
- | | AAA | |AAA{border-color:black; | + | |
- | | |!@4| | AB |AB{border-color: | + | |
- | | BBB | | | | | | | | | | |BBB{border-color:black; | + | |
- | | |!@4| | BC |BC{border-color: | + | |
- | | CCC | | | | | | | | | | |CCC{border-color:black; | + | |
- | </diagram> | + | |
+ | box1-> | ||
+ | </flowchartjs> | ||
</ | </ | ||
<WRAP half column> | <WRAP half column> | ||
Ligne 156: | Ligne 162: | ||
>>> | >>> | ||
</ | </ | ||
- | * Commandes : copyrigth, credits, license(), quit, help, help(),... | + | * Commandes : copyright, credits, license(), quit, help, help(),... |
==== Notion de variable ==== | ==== Notion de variable ==== | ||
Ligne 253: | Ligne 259: | ||
>>> | >>> | ||
>>> | >>> | ||
- | >>> | + | >>> |
True False | True False | ||
>>> | >>> | ||
Ligne 273: | 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 472: | 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 553: | Ligne 559: | ||
* des procédures de tests | * des procédures de tests | ||
* la génération de documentation sous différentes formes | * la génération de documentation sous différentes formes | ||
+ | * la possibilité d' | ||
* ... | * ... | ||
Ligne 638: | Ligne 645: | ||
==== Tkinter : animation ==== | ==== Tkinter : animation ==== | ||
- | <code python> | + | <code python |
#! / | #! / | ||
# -*- coding: utf-8 -*- | # -*- coding: utf-8 -*- | ||
Ligne 700: | 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:// | ||
==== Graphiques simples avec matplotlib ==== | ==== Graphiques simples avec matplotlib ==== |