Recherche
Voici les résultats de votre recherche.
Résultats plein texte:
- representation_molecules_2013
- n ''.join(c for c in s if chk(c)) def find_words(text, search): ''' Sert à vérifier la présence d'u... /python-check-if-word-is-in-a-string ''' dText = {} dSearch = {} dText = text.split() dSearch = search.split() lenText = len(dText) lenSearch = len(dSearch)
- gaz_parfait_2011
- dimension de la fenêtre 2 txt1 = Label(fen2, text= "Entrez ici le nombre de mole(mol):") #appa... un texte dans la fenêtre 2 txt2 = Label(fen2, text= "Entrez ici la Température (K):") #" ... " " txt3 = Label(fen2, text = "Entrez ici le Volume (m^3) :") #" ... "(ligne 3 et colonne 3) button = Button(fen2, text='calculer', command=calculerP, bg="gold")#apparit
- calcul_matriciel_2012
- ar=IntVar() r1=Radiobutton(fen02,text="déterminant",variable=var,value=0,command =affiche) r2=Radiobutton(fen02,text="comatrice",variable=var,value=1,command =affiche1) r3=Radiobutton(fen02,text="matrice inverse",variable=var,value=2,command =affiche2) r4=Radiobutton(fen02,text="matrice transposée",variable=var,value=3,command
- tkinter_gui_simple
- from tkinter import * root = Tk() w=Label(root, text="Bonjour !") w.pack() root.mainloop() </code> =... nt("Yes, we can !") root = Tk() #w = Label(root, text="Bonjour!") #w.pack() b = Button(root,text="Click here !",command=action) b.pack() root.mainloop() </... nt("Yes, we can !") root = Tk() #w = Label(root, text="Bonjour!") #w.grid(row=?) champ = Entry(root) c
- ph_courbe_titrage_2011
- enwarn.title('Erreur') Label(fenwarn, text='Vous devez choisir un type').pack(padx=5, pady=5) Button(fenwarn, text='Fermer', command = fenwarn.destroy,bg="red").pac... nwarn.title('Erreur') Label(fenwarn, text="Veuillez entrer des valeurs cohérentes. Le pH do... .pack(padx=5, pady=5) Button(fenwarn, text='Fermer', command = fenwarn.destroy,bg="red").pac
- dictionaries_adn_arn_protein
- 2 tex2 += gencode1[cha1[n:n+3]] text2.configure( text= "Résultat : "+tex2,fg='blue') # pour déterminer ce qui apparaitre dans la réponse ... tex2 += gencode2[cha1[n:n+3]] text4.configure( text= "Résultat : "+tex2,fg='blue') def traduction_en_AM2(): gencode3 = {
- conversion_temperature_2011
- ion du titre de la fenêtre # Label(conteneur, text=titre).pack() # Label défini un fragment de texte... ans la fenêtre "conteneur" # Label(conteneur, text='Résultat: ' + str(reponse)).pack() # Pack permet... une chaine de caractères # Button(conteneur, text='Ok', command=conteneur.destroy).pack(padx=5, pad... eurwidget.title('Erreur') Label(erreurwidget, text=texte).pack(padx=5, pady=5) Button(erreurwidg
- tableau_periodique_2011
- box.insert(END,item) quitter = Button(element,text='Quitter',command=element.destroy) quitter.pa... s (ici des messages) autre = Message(legend1, text="Autres", width=300, font="Arial 15", bg="white")... tre.pack() metauxtransition= Message(legend1, text="Metaux de transition", width=300, font="Arial 15... xtransition.pack() gazrare = Message(legend1, text="Gaz rares", width=300, font="Arial 15", bg="#00C
- courbe_predominance_acide_2013
- la valeur entrée pour n txtn = Label(root2, text ='pKa1 : ', fg = 'red') txtn.grid(row=2) ... lécule possède 2 H+ txt2 = Label(root2, text ='pKa2 : ', fg = 'red') txt2.grid(row=4) ... cule possède 3 H+ txt3 = Label(root2, text ='pKa3 : ', fg = 'red') txt3.grid(row... plt.show() b2=Button(root2,text="Tracer le Graphique",command=graphe, bg = 'black
- grille_configurations_melange_binaire_2013
- nb1) #Sélection nombre de lignes Label(root, text="Nombre de lignes :").pack() eLig = Entry(root) e... 0, "4") #Sélection nombre de colonnes Label(root, text="Nombre de colonnes :").pack() eCol = Entry(root)... insert(0, "4") #Sélection nombre de 1 Label(root, text="Nombre de 1 :").pack() e1 = Entry(root) e1.pack(... s, colonnes et de 1 sélectionnés b = Button(root, text="Rafraichir la grille", command=buttonClick) b.pa
- game_of_life_conway-2012
- eturn n def multistep(self): text1=KBvar1.get() try: ns=int(text1) except ValueError: ns = 1 text2=KBvar2.get() try: delay=int(text2) except ValueError: delay =
- potentiel_morse @teaching:progappchim:matplotlib_gallery
- xy=xy_annoth, xycoords='data', xytext=(+40, +40), textcoords='offset points', fontsize=... xy=xy_annotm, xycoords='data', xytext=(-200, -60), textcoords='offset points', fontsize... estyle="--") plt.annotate("", xy=(xmax*0.4,0.), xytext=(xmax*0.4,D_e), arrowprops=dict(arrowstyle="<->",color='k',shrinkA=0,shrinkB=0)) plt.text(xmax*0.41, D_e*0.3, u"Puit de potentiel", fontsiz
- codes_presentation
- "Lecture de deux masses") chaine1 = Label (fen01, text = "introduisez la première masse :") chaine2 = Label (fen01, text = "introduisez la deuxième masse :") chaine1.grid... ) entr2.grid(row =1, column =1) bou1=Button(fen01,text='Continuer',command=fen01.quit) bou1.grid(row=2,c... 0, y1+30, width=2, fill='red') bou1 = Button(fen1,text='Quitter', width =8, command=fen1.quit) bou1.pack
- ph_acides_bases_2013
- e) pkaselect=listepka[acideselect] label['text']=pkaselect def graphe_acide () : """ foncto... nsert(tk.END, item) pka_corresp=tk.Label(root, text='pKa correspondant:') pka_corresp.grid(row=1,colu... d(row=2,column=1) boutongraphe = tk.Button(root, text="Tracer le graphe!", command=graphe_acide) bouton... se) pkaselect=listepka[baseselect] label['text']=pkaselect def graphe_base () : """ foncton
- plot_sinus_cosinus
- * [[http://matplotlib.sourceforge.net/users/index_text.html|Working with text]] * [[http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.xticks|xti... xy=(t, np.cos(t)), xycoords='data', xytext=(-90, -50), textcoords='offset points', fontsize=... xy=(t, np.sin(t)), xycoords='data', xytext=(+10, +30), textcoords='offset points', fontsize=