Recherche
Voici les résultats de votre recherche.
Résultats plein texte:
- representation_molecules_2013
- r une page HTML de son code pour ne garder que le texte ''' intag = [False] def chk(c): ... 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)
- gaz_parfait_2011
- dimension de la fenêtre 2 txt1 = Label(fen2, text= "Entrez ici le nombre de mole(mol):") #apparition d'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) :") #"
- 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 = {
- 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() </... peut mettre un champ d'entrée et y introduire du texte <code python tk-02.py> #!/usr/bin/env python # -
- conversion_temperature_2011
- ion du titre de la fenêtre # Label(conteneur, text=titre).pack() # Label défini un fragment de texte qui peut être utilisé pour afficher des informations ... ans la fenêtre "conteneur" # Label(conteneur, text='Résultat: ' + str(reponse)).pack() # Pack permet d'adapter la géométrie de la fenêtre au texte. "str" défini une chaine de caractères # But
- 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
- 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 =
- ph_acides_bases_2013
- indexacide=listbox1.curselection()[0] seltextacide=listbox1.get(indexacide) listeacide= ['H... -9,1.93,3.29] acideselect=listeacide.index(seltextacide) pkaselect=listepka[acideselect] label['text']=pkaselect def graphe_acide () : """ foncto... indexacide=listbox1.curselection()[0] seltextacide=listbox1.get(indexacide) listeacide= ['H
- plot_sinus_cosinus
- des axes, marques et propriétés de la grille, des textes (police, taille,...), ... Voici donc la représ... t.yticks([-1, 0, +1]) ... </code> ===== Fixer le texte des graduations ===== * Documentation à consul... * [[http://matplotlib.sourceforge.net/users/index_text.html|Working with text]] * [[http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.xticks|xti
- notions_fondamentales
- partie entière du nombre. ==== Le type de données texte ou "string" : ==== //Cf.// la [[https://docs.python.org/3/library/stdtypes.html?highlight=encode#text-sequence-type-str|documentation officielle]] et [... e python> strings = ['A', 'bac', 'cali', 'jkppl'] text = ''.join(strings) print(text) </code> Les caractères Unicode étant considérés comme abstraits dans Py
- 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
- pka_pkb_plane @teaching:progappchim:matplotlib_gallery
- xy=(x, 14-x), xycoords='data', xytext=(-150, -50), textcoords='offset points', fontsize=16, arrowprops=dict(arrowstyle="->", conn... xy=(-3, 17), xycoords='data', xytext=(-20, +100), textcoords='offset points', fontsize=13, arrowprops=dict(arrowstyle="->", con
- 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
- potentiel_morse @teaching:progappchim:matplotlib_gallery
- xy=xy_annoth, xycoords='data', xytext=(+40, +40), textcoords='offset points', fontsize=16, color="green", arrowprops=dict(arrowst... xy=xy_annotm, xycoords='data', xytext=(-200, -60), textcoords='offset points', fontsize=16, color="blue", arrowprops=dict(arrowst