start

Recherche

Voici les résultats de votre recherche.

calcul_matriciel_2012
16 Occurrences trouvées, Dernière modification :
r8.grid(row=8,column=0, sticky=W) fen02.mainloop() else: ... image = is_number(entree) fen01.mainloop() return image def affiche (): ... = det) bou3.grid(row=i+1,column =j) fen03.mainloop() def affiche1(): fen03 = Tk() ... omatr) bou3.grid(row=i+1,column =j) fen03.mainloop() def affiche2(): fen03 = Tk() f
tkinter_gui_simple
12 Occurrences trouvées, Dernière modification :
() w=Label(root, text="Bonjour !") w.pack() root.mainloop() </code> ===== Un bouton (Button) avec une ... ext="Click here !",command=action) b.pack() root.mainloop() </code> <note tip>Voyez à décommenter les ... "Click here !",command=action) b.grid(row=1) root.mainloop() </code> <note warning>Si on à décommente le... ext="Quit",command=root.quit) c.grid(row=3) root.mainloop() # éliminer la fenêtre : root.destroy() </
notions_fondamentales
8 Occurrences trouvées, Dernière modification :
iki/Anagramme """ string1 = 'manoir' string2 = 'romain' print(string1, sorted(string1)) print(string2, ... 021, Medium * ... ==== Test sur le programme "main" ==== La variable python **<nowiki>__name__</nowiki>** contient **<nowiki>'__main__'</nowiki>** si l'instruction est invoquée dans ... ucture conditionnelle **<nowiki>if __name__ == '__main__':</nowiki>** incluse dans de nombreux modules d
suite_de_fibonacci-3
6 Occurrences trouvées, Dernière modification :
e de Fibonacci """ ... if __name__ == '__main__': # le programme "principal" .... </co... ucture conditionnelle **<nowiki>if __name__ == '__main__':</nowiki>** est de n'exécuter la suite du code... pchim:notions_fondamentales#test_sur_le_programme_main|ici]]). Voici une proposition complète : <code p... a, b = b, a + b return b if __name__ == '__main__': i = int(input("Suite de Fibonacci. Donnez
courbe_predominance_acide_2013
4 Occurrences trouvées, Dernière modification :
à laquelle se trouve le bouton de fin. root2.mainloop() # éliminer la fenêtre : root2.destr... fg = 'red', bg = 'black') b2.grid (row = 5) root1.mainloop() # éliminer la fenêtre : root1.destroy() #
progappchim
4 Occurrences trouvées, Dernière modification :
ps://pgi-jcns.fz-juelich.de/portal/pages/pymoldyn-main.html|pyMolDyn]] * [[https://chemview.readthedoc... ts-statistiques-des-donnees/ressources-1/prise-en-main-rapide-du-logiciel-reaction|ce programme]]) * g... * [[http://www.lps.ens.fr/~krauth/index.php/Main_Page|Main Page - Werner KRAUTH]] * [[https://www.coursera.org/lecture/statistical-mechanics/lectu
tableau_periodique_2011
4 Occurrences trouvées, Dernière modification :
lement.destroy) quitter.pack(side=BOTTOM) mainloop() fen1=Tk() fen1.title("Tableau periodique")... #9999FF") metaux.pack() frame.pack() mainloop() Menu=tkinter.Menu(sysdemenu) sysdemenu.ad... olonne:","Couleur:"]: centre.insert(END,item) mainloop() fen1.destroy() fen1.mainloop() </code> **Nécessite ce fichier de données :** <code python el
bioinformatic
3 Occurrences trouvées, Dernière modification :
e([adn.count(X) for X in "ACGT"])) # count "à la main", sans utilisation de fonctions/librairie ACGT = ... in count: print(val,) print() # count "à la main", avec .index() ACGT = "ACGT" count = [0,0,0,0] f... Références ===== * [[http://biopython.org/wiki/Main_Page|Biopython]] (librairie python de bioinformat
notions_avancees
3 Occurrences trouvées, Dernière modification :
<code python> import smtplib HOST = "smtp.mydomain.com" SUBJECT = "Test email from Python" TO = "mike@mydomain.com" FROM = "python@mydomain.com" text = "blah blah blah" BODY = "\r\n".join(( f"From: {FROM}",
presentation_principes
3 Occurrences trouvées, Dernière modification :
ions dans un langage compréhensible par un être humain, mais transformable en d'autres instructions comp... mand=fen01.quit) bou1.grid(row=2,column=1) fen01.mainloop() m1 = float(entr1.get()) m2 = float(entr2.g... tionnaire d'évènements (boucle principale) : fen1.mainloop() </code> ==== tkinter : tkDemo, demonstrati
suite_de_fibonacci-4
3 Occurrences trouvées, Dernière modification :
+fibonacci_item_recursive(n-2) if __name__ == '__main__': i = input("Suite de Fibonacci. Donnez l'i... F_n""" return fibo2(n)[1] if __name__ == '__main__': i = input("Suite de Fibonacci. Donnez l'i... ield a a, b = b, a + b if __name__ == '__main__': i = int(input("Suite de Fibonacci. Donnez
algos_entiers
2 Occurrences trouvées, Dernière modification :
codes_presentation
2 Occurrences trouvées, Dernière modification :
mand=fen01.quit) bou1.grid(row=2,column=1) fen01.mainloop() m1 = float(entr1.get()) m2 = float(entr2.g... tionnaire d'évènements (boucle principale) : fen1.mainloop() fen1.destroy() </code> ==== DemoTkinter ==
dictionaries_adn_arn_protein
2 Occurrences trouvées, Dernière modification :
en_AM1) button2 = Button(fen1, text='Structure primaine de la protéine (code 3 lettres)', command =tradu... d(row=6, column=2) button4.grid(row=17, column=2) fen1.mainloop() # lance la boucle principale </sxh>
fizz_buzz
2 Occurrences trouvées, Dernière modification :
by both become fizz buzz. """ if __name__ == "__main__": print('Introduce X, Y, N separated by com... gnes : <code python> import sys if __name__=="__main__": fn = "easy-001-Fizz_Buzz-01.txt" with
game_of_life_conway-2012
2 Occurrences trouvées, Dernière modification :
grille_configurations_melange_binaire_2013
2 Occurrences trouvées, Dernière modification :
openbabel_jmol
2 Occurrences trouvées, Dernière modification :
ph-3d
2 Occurrences trouvées, Dernière modification :
ph_acides_bases_2013
2 Occurrences trouvées, Dernière modification :
conversion_temperature_2011
1 Occurrences trouvées, Dernière modification :
ensemble_mandelbrot_2013
1 Occurrences trouvées, Dernière modification :
factorielle-3
1 Occurrences trouvées, Dernière modification :
gaz_parfait_2011
1 Occurrences trouvées, Dernière modification :
matplotlib_simple
1 Occurrences trouvées, Dernière modification :
pandas
1 Occurrences trouvées, Dernière modification :
ph_courbe_titrage_2011
1 Occurrences trouvées, Dernière modification :
plotly_simple
1 Occurrences trouvées, Dernière modification :
plot_sinus_cosinus
1 Occurrences trouvées, Dernière modification :
pressions_partielles_systemes_non_ideaux
1 Occurrences trouvées, Dernière modification :
random_walk_2d-simple
1 Occurrences trouvées, Dernière modification :
representation_molecules_2013
1 Occurrences trouvées, Dernière modification :
suite_de_fibonacci-5
1 Occurrences trouvées, Dernière modification :
tableau_periodique_2013
1 Occurrences trouvées, Dernière modification :
  • start.txt
  • Dernière modification : 2021/09/09 08:56
  • de villersd