start

Recherche

Voici les résultats de votre recherche.

notions_fondamentales
15 Occurrences trouvées, Dernière modification :
art) # count occurences of substring sub starting from start position in string s s.count(sub, start, end) # count occurences of substring sub from start to end — 1 position in string s s.find(sub)... ndex of first occurence of substring sub starting from start position in string s, returns -1 if not fou... returns index of first occurence of substring sub from start to end — 1 position in string s, return -1
suite_de_fibonacci-5
13 Occurrences trouvées, Dernière modification :
n/performance_tuning/timeit.php """ import timeit from fibonacci05_fonction import fibonacci_item from fibonacci06_fonctions import fibonacci_item_from_list from fibonacci07_fonction_recursive import fibonacci_item_recursive from fibonacci08_fonction_algo
pandas
11 Occurrences trouvées, Dernière modification :
uestions/15315452/selecting-with-complex-criteria-from-pandas-dataframe # print(df.columns) print(df.Age... à combiner...) <code python> import pandas as pd from scipy import stats </code> Références : * [[ht... .com/analytics-vidhya/linear-regression-in-python-from-scratch-with-scipy-statsmodels-sklearn-da8e373cc89b|Linear Regression in python from scratch with scipy, statsmodels, sklearn]] * [[
suite_de_fibonacci-3
8 Occurrences trouvées, Dernière modification :
ppelant d'autres fonctions, avec **fibonacci_list_from_items(n)** qui construirait la liste à partir de ... nnant un élément particulier, et **fibonacci_item_from_list(n)** qui renverrait l'élément d'indice n com... ans.append(b) return ans def fibonacci_list_from_items(n): # construit la liste à partir de la... nacci_item(i)) return ans def fibonacci_item_from_list(n): # renvoie l'élément d'indice n comme
tkinter_gui_simple
8 Occurrences trouvées, Dernière modification :
y> #!/usr/bin/env python # -*- coding: utf-8 -*- from tkinter import * root = Tk() w=Label(root, text=... y> #!/usr/bin/env python # -*- coding: utf-8 -*- from tkinter import * def action(): print("Yes, w... y> #!/usr/bin/env python # -*- coding: utf-8 -*- from tkinter import * def action(): print("Yes, w... y> #!/usr/bin/env python # -*- coding: utf-8 -*- from tkinter import * def action(): print("Yes, w
numpy_simple
7 Occurrences trouvées, Dernière modification :
"array" pour des polynômes """ import numpy as np from numpy.polynomial import Polynomial as P # les co... np # directive d'importation standard de numpy from numpy import fft # importation spécifique du mo... ule fft de numpy import matplotlib.pyplot as plt #from scipy import fftpack # directive d'importation s... rence/api.html#guidelines-for-importing-functions-from-scipy #from pylab import * # directive d'importa
notions_avancees
6 Occurrences trouvées, Dernière modification :
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}", f"To: {TO}", f"Subject: {SUBJECT}", "", text) ) server = smtplib.SMTP(HOST)
bioinformatic
5 Occurrences trouvées, Dernière modification :
rint() # utilisation de la librairie collections from collections import defaultdict ncount = defaultdi... ncount['G'], ncount['T']) # collections.Counter from collections import Counter for k,v in sorted(Coun... p://www.uniprot.org/uniprot/uniprot_id.fasta """ from Bio import SeqIO from Bio import ExPASy from Bio import SeqIO dic = {"UUU":"F", "UUC":"F", "UUA":"L",
matplotlib_simple
5 Occurrences trouvées, Dernière modification :
r une certaine compatibilité avec Matlab) : <code>from pylab import *</code> ===== Graphiques de séries... simple d'une fonction : cosinusoïde amortie """ from pylab import * # directive d'importation simplifi... 12ccdc359bc|Everything about plotting in Python - From matplotlib to pandas.plot()]] Medium, 17/07/2020 ... ompleted Matplotlib tutorials for Python plotting from basic to advanced, with 90+ examples]], Medium, 2
mendeleev
5 Occurrences trouvées, Dernière modification :
le/ * https://github.com/lmmentel/mendeleev """ from mendeleev import element import matplotlib.pyplot... le/ * https://github.com/lmmentel/mendeleev """ from mendeleev import element # on peut accéder aux v... 9:11:22 2021 @author: villersd """ import string from mendeleev import element print(list(range(6))) fo... installé la librairie mendeleev : <code python> from mendeleev import element for Z in range(1,19):
presentation_principes
5 Occurrences trouvées, Dernière modification :
avec le module standard Turtle ==== <code python> from turtle import * reset() i=0 while i<120: for... avec le module standard Turtle ==== <code python> from turtle import * reset() x=-100 y=-100 i=0 while ... l’interface graphique Tkinter ==== <code python> from tkinter import * fen01 = Tk() fen01.title("Lectu... xercice utilisant la librairie graphique Tkinter from tkinter import * # définition des gestionnaires
scipy_simple
5 Occurrences trouvées, Dernière modification :
rence/api.html#guidelines-for-importing-functions-from-scipy|site de Scipy]]) : <code>from scipy import optimize from scipy import interpolate from scipy import integrate ...</code> ===== Fonctionnalités ===== La librair
codes_presentation
4 Occurrences trouvées, Dernière modification :
-*- coding: UTF-8 -*- # exemple de base turtle # from turtle import * import sys import time reset() x... -8 -*- # lecture de 2 masses par une fenêtre tk from tkinter import * fen01 = Tk() fen01.title("Lectu... xercice utilisant la librairie graphique Tkinter from tkinter import * # définition des gestionnaires ... on # -*- coding: utf-8 -*- # cosinusoïde amortie from pylab import * def my_func(t): s1 =
fit_modele_einstein
4 Occurrences trouvées, Dernière modification :
instein """ import numpy as np import scipy as sp from scipy.optimize import leastsq import matplotlib.p... e_Debye """ import numpy as np import scipy as sp from scipy.optimize import leastsq from scipy import integrate from scipy.integrate import simps import matplotlib.pyplot as plt def f(x):
representation_molecules_2013
4 Occurrences trouvées, Dernière modification :
pTags(s): ''' Strips HTML tags. Taken from http://aspn.activestate.com/ASPN/Cookbook/Python/... code SMILE ''' file_name=name+'.png' from rdkit.Chem import AllChem from rdkit.Chem import Draw mol = AllChem.MolFromSmiles(smiles) A... de données." c.close() '''Interface ''' from Tkinter import * root=Tk() #On crée la fenêtre ro
progappchim
4 Occurrences trouvées, Dernière modification :
chempy
3 Occurrences trouvées, Dernière modification :
elements_molecules
3 Occurrences trouvées, Dernière modification :
maxwell-boltzmann
3 Occurrences trouvées, Dernière modification :
pieges
3 Occurrences trouvées, Dernière modification :
random_walk_2d-simple
3 Occurrences trouvées, Dernière modification :
rdkit
3 Occurrences trouvées, Dernière modification :
scikit_learn
3 Occurrences trouvées, Dernière modification :
potentiel_energy_surface @teaching:progappchim:matplotlib_gallery
3 Occurrences trouvées, Dernière modification :
calcul_matriciel_2012
2 Occurrences trouvées, Dernière modification :
courbe_predominance_acide_2013
2 Occurrences trouvées, Dernière modification :
diffusion_chimique_1d
2 Occurrences trouvées, Dernière modification :
ensemble_mandelbrot_2013
2 Occurrences trouvées, Dernière modification :
factorielle-3
2 Occurrences trouvées, Dernière modification :
jupyter
2 Occurrences trouvées, Dernière modification :
koch_snowflake
2 Occurrences trouvées, Dernière modification :
lennard-jones
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 :
ph_courbe_titrage_2011
2 Occurrences trouvées, Dernière modification :
polynomes-7
2 Occurrences trouvées, Dernière modification :
polynomes-8
2 Occurrences trouvées, Dernière modification :
polynomes-11
2 Occurrences trouvées, Dernière modification :
pylab_simple
2 Occurrences trouvées, Dernière modification :
tableau_periodique_2011
2 Occurrences trouvées, Dernière modification :
algos_entiers
1 Occurrences trouvées, Dernière modification :
analyse_images
1 Occurrences trouvées, Dernière modification :
bokeh_simple
1 Occurrences trouvées, Dernière modification :
collection_namedtuple_exemple
1 Occurrences trouvées, Dernière modification :
conversion_temperature_2011
1 Occurrences trouvées, Dernière modification :
dictionaries_adn_arn_protein
1 Occurrences trouvées, Dernière modification :
factorielle-2
1 Occurrences trouvées, Dernière modification :
fizz_buzz
1 Occurrences trouvées, Dernière modification :
game_of_life_conway-2012
1 Occurrences trouvées, Dernière modification :
gaz_parfait_2011
1 Occurrences trouvées, Dernière modification :
glossaire_chimie
1 Occurrences trouvées, Dernière modification :
grille_configurations_melange_binaire_2013
1 Occurrences trouvées, Dernière modification :
math_nombres
1 Occurrences trouvées, Dernière modification :
matrices
1 Occurrences trouvées, Dernière modification :
nim
1 Occurrences trouvées, Dernière modification :
open_chemical_databases
1 Occurrences trouvées, Dernière modification :
periodical_table_electronegativity
1 Occurrences trouvées, Dernière modification :
plot_sinus_cosinus
1 Occurrences trouvées, Dernière modification :
polynomes-5
1 Occurrences trouvées, Dernière modification :
polynomes-6
1 Occurrences trouvées, Dernière modification :
polynomes-9
1 Occurrences trouvées, Dernière modification :
polynomes-12
1 Occurrences trouvées, Dernière modification :
pressions_partielles_systemes_non_ideaux
1 Occurrences trouvées, Dernière modification :
solubilite_ph_t
1 Occurrences trouvées, Dernière modification :
suite_de_fibonacci-2
1 Occurrences trouvées, Dernière modification :
tableau_periodique_2013
1 Occurrences trouvées, Dernière modification :
tris
1 Occurrences trouvées, Dernière modification :
trucs_astuces
1 Occurrences trouvées, Dernière modification :
urllib
1 Occurrences trouvées, Dernière modification :
histogramme_simple @teaching:progappchim:matplotlib_gallery
1 Occurrences trouvées, Dernière modification :
rotateur_biatomique @teaching:progappchim:matplotlib_gallery
1 Occurrences trouvées, Dernière modification :
  • start.txt
  • Dernière modification : 2021/09/09 08:56
  • de villersd