Voici les résultats de votre recherche.
notions_fondamentales @teaching:progappchim 263 Occurrences trouvées, Dernière modification : il y a 3 ans es ======
Aide mémoire synthétique sur le langage Py thon.
===== Règles de base =====
Ces règles peuvent être testées via le mode interactif de Py thon (en utilisant la fenêtre "Shell" ou console d... re de gauche à droite
==== Scripts ou programmes Py thon, où les conserver, et comment les nommer : ==... s noms, d'utiliser systématiquement l'extension ".py " et de les classer en répertoires suivant leur rô matplotlib_simple @teaching:progappchim 105 Occurrences trouvées, Dernière modification : il y a 2 ans thèque très puissante du langage de programmation Py thon destinée à tracer et visualiser des données s... Elle est souvent combinée avec les bibliothèques py thon de calcul scientifique :
* [[http://www.num... ] : mathématiques symboliques
* [[http://pandas.py data.org/|Pandas]]: analyse de données
Avec Matpl... d'exemples]]).
Le projet [[http://wiki.scipy.org/Py Lab|Py lab]] vise à regrouper ces différentes libra progappchim @teaching:progappchim 96 Occurrences trouvées, Dernière modification : il y a 3 ans e les contributions à cpython, le cœur du langage Py thon : [[https://lukasz.langa.pl/f15a8851-af26-4e9... es de base,...) =====
* {{:teaching:progappchim:py thon-overview-3.pdf|Présentation et principes de base de la programmation en Py thon, avec quelques applications}} + [[codes_prese... ation et principes de base de la programmation en Py thon, avec quelques applications]]** (version wiki notions_avancees @teaching:progappchim 86 Occurrences trouvées, Dernière modification : il y a 3 ans chtofreedom/7-levels-of-using-the-zip-function-in-py thon-a4bd22ee8bcd|7 Levels of Using the Zip Function in Py thon]]
* itertools.cycle() est une méthode utile... rmatique/cours/pratiques-avancees-et-meconnues-en-py thon/les-generateurs-2]]
* [[http://feldboris.alwaysdata.net/blog/py thon-les-iterateurs-et-les-generateurs-fr.html]]
tkinter_gui_simple @teaching:progappchim 77 Occurrences trouvées, Dernière modification : il y a 3 ans * Documentation officielle :
* [[https://docs.py thon.org/3/library/tk.html|Les interfaces graphiques TK]]
* [[https://docs.py thon.org/3/library/tkinter.html|tkinter — interface Py thon à Tcl/Tk]], reprenant quelques références recommandées
* Py thon 3 avec Tk intègre également les extensions [[ methcalchim @teaching:methcalchim 62 Occurrences trouvées, Dernière modification : il y a 3 ans es====
==== Programming bases and tools ====
* Py thon programming language
* [[http://www.learn... * [[https://www.datacamp.com/courses/intro-to-py thon-for-data-science|DataCamp free course "Intro to Py thon for Data Science"]]
* [[https://www.sololearn.com/Course/Py thon/|Py thon 3 Tutorial]], interactive, with [[htt pandas @teaching:progappchim 60 Occurrences trouvées, Dernière modification : il y a 3 ans ne.
===== Installation =====
* [[http://pandas.py data.org/pandas-docs/stable/install.html|Instructi... as
===== Documentation =====
* [[http://pandas.py data.org/pandas-docs/stable/index.html|Documentation officielle]]
* [[http://pandas.py data.org/pandas-docs/stable/10min.html|10 minutes to pandas]]
* [[http://pandas.py data.org/pandas-docs/version/0.20/cookbook.html|co presentation_principes @teaching:progappchim 51 Occurrences trouvées, Dernière modification : il y a 3 ans ts=1&open_in_new_window=1~~
====== Programmer en Py thon ======
===== Généralités =====
* Qu'est-c... ées, sans devoir les approfondir
* Java, C++, Py thon, perl, Ruby. . .sont les plus connus
* Des ... viter la phase lente de compilation
</WRAP>
==== Py thon / Langages à Bytecodes ====
<WRAP group>
<WRA... owchartjs default>
box1=>operation: Code source Py thon (.py )
→ Compilation
box2=>operation: Py th plot_sinus_cosinus @teaching:progappchim 48 Occurrences trouvées, Dernière modification : il y a 5 ans à consulter :
* [[http://matplotlib.org/users/py plot_tutorial.html|Tutoriel py plot]]
* [[http://matplotlib.org/api/py plot_api.html#matplotlib.py plot.plot|Documentation py plot]]
Matplotlib considère un ensemble de param numpy_simple @teaching:progappchim 47 Occurrences trouvées, Dernière modification : il y a 3 ans mPy est une extension du langage de programmation Py thon, destinée à manipuler des matrices ou tableau... mériques =====
On convertit facilement des listes Py thon en tableau numpy. Essayez ceci :
<code py thon>
import numpy as np
a = np.array([[1,2],[3,4]])
pri... ist|cette ancienne documentation]].
</note>
<code py thon arrays_01.py >
#! /usr/bin/env py thon
# -*- co simulations_random_walks_codes @teaching:exos 39 Occurrences trouvées, Dernière modification : il y a 7 ans numériques de marches aléatoires : programmes en Py thon ======
<note tip>Pour une bonne compréhensio... ccessivement. Il est important d'exécuter le code Py thon et même de tester des petites modifications.
... === Génération de nombres aléatoires =====
<code py thon 01_random.py >
#!/usr/bin/py thon
# -*- coding: utf-8 -*-
"""
cf. documentation cf http://docs.py th algos_entiers @teaching:progappchim 36 Occurrences trouvées, Dernière modification : il y a 3 ans .A9om.C3.A9triques|ici]] !**).
Cela donne ceci en Py thon :
<code py thon pgcd.py >
#!/usr/bin/env py thon
# -*- coding: UTF-8 -*-
def gcd(a, b):
"""Calculate the Greatest Common Di etudes-aess 31 Occurrences trouvées, Dernière modification : il y a 9 ans plotly_simple @teaching:progappchim 30 Occurrences trouvées, Dernière modification : il y a 3 ans ils analytiques et de visualisation. La librairie py thon Plotly permet de créer des graphes dans l'env... ter
===== Références =====
* [[https://plot.ly/py thon/|plot.ly]], le site officiel
* [[wp>Plotly]]
* [[https://plot.ly/py thon/|Plotly Py thon Open Source Graphing Library]]
* [[https://plot.ly/py thon/ipython-notebook-tutor ppoo @teaching:progappchim 28 Occurrences trouvées, Dernière modification : il y a 3 ans ====== Programmation Py thon Orientée Objet ======
FIXME : en construction
===== Concepts utilisés ===... : c'est... n'importe quoi, qui peut être codé. En Py thon, tout est objet !
* Une classe est une desc... e : ...
* Abstraction
* Polymorphisme
<code py thon intro-OO-01.py 3>
#!/usr/bin/env py thon3
# -*- coding: utf-8 -*-
"""
Introduction to object-orien bokeh_simple @teaching:progappchim 27 Occurrences trouvées, Dernière modification : il y a 4 ans elements_molecules @teaching:progappchim 27 Occurrences trouvées, Dernière modification : il y a 5 ans mendeleev @teaching:progappchim 24 Occurrences trouvées, Dernière modification : il y a 3 ans trucs_astuces @teaching:progappchim 24 Occurrences trouvées, Dernière modification : il y a 3 ans analyse_images @teaching:progappchim 21 Occurrences trouvées, Dernière modification : il y a 5 ans polynomes-10 @teaching:progappchim 21 Occurrences trouvées, Dernière modification : il y a 9 ans bioinformatic @teaching:progappchim 19 Occurrences trouvées, Dernière modification : il y a 3 ans codes_presentation @teaching:progappchim 18 Occurrences trouvées, Dernière modification : il y a 5 ans epidemie_coronavirus @teaching:progappchim 18 Occurrences trouvées, Dernière modification : il y a 5 ans initinfo 16 Occurrences trouvées, Dernière modification : il y a 22 mois revision_cheat_sheets 15 Occurrences trouvées, Dernière modification : il y a 5 ans jupyter @teaching:progappchim 15 Occurrences trouvées, Dernière modification : il y a 4 ans suite_de_fibonacci-2 @teaching:progappchim 15 Occurrences trouvées, Dernière modification : il y a 9 ans csv @teaching:progappchim 14 Occurrences trouvées, Dernière modification : il y a 5 ans polynomes-7 @teaching:progappchim 14 Occurrences trouvées, Dernière modification : il y a 7 ans tris @teaching:progappchim 14 Occurrences trouvées, Dernière modification : il y a 3 ans informatique 13 Occurrences trouvées, Dernière modification : il y a 9 ans factorielle-3 @teaching:progappchim 13 Occurrences trouvées, Dernière modification : il y a 9 ans openbabel_jmol @teaching:progappchim 13 Occurrences trouvées, Dernière modification : il y a 4 ans polynomes-12 @teaching:progappchim 13 Occurrences trouvées, Dernière modification : il y a 3 ans suite_de_fibonacci-3 @teaching:progappchim 13 Occurrences trouvées, Dernière modification : il y a 9 ans suite_de_fibonacci-4 @teaching:progappchim 13 Occurrences trouvées, Dernière modification : il y a 9 ans print_format @teaching:progappchim 12 Occurrences trouvées, Dernière modification : il y a 4 ans pylab_simple @teaching:progappchim 12 Occurrences trouvées, Dernière modification : il y a 4 ans chempy @teaching:progappchim 11 Occurrences trouvées, Dernière modification : il y a 3 ans tp_simulations_monte-carlo_2019 @teaching:exos 10 Occurrences trouvées, Dernière modification : il y a 6 ans factorielle-2 @teaching:progappchim 10 Occurrences trouvées, Dernière modification : il y a 9 ans fit_modele_einstein @teaching:progappchim 10 Occurrences trouvées, Dernière modification : il y a 11 ans articles_didactique_chimie 9 Occurrences trouvées, Dernière modification : il y a 3 semaines altair_simple @teaching:progappchim 9 Occurrences trouvées, Dernière modification : il y a 6 ans lennard-jones @teaching:progappchim 9 Occurrences trouvées, Dernière modification : il y a 11 ans maxwell-boltzmann @teaching:progappchim 9 Occurrences trouvées, Dernière modification : il y a 12 ans ph_acides_bases_2013 @teaching:progappchim 9 Occurrences trouvées, Dernière modification : il y a 12 ans slices @teaching:progappchim 9 Occurrences trouvées, Dernière modification : il y a 4 ans timeline-chimie 8 Occurrences trouvées, Dernière modification : il y a 5 ans thermodynamique_statistique-exercices @teaching:exos 8 Occurrences trouvées, Dernière modification : il y a 3 ans pieges @teaching:progappchim 8 Occurrences trouvées, Dernière modification : il y a 10 ans calcul_matriciel_2012 @teaching:progappchim 7 Occurrences trouvées, Dernière modification : il y a 12 ans matrices @teaching:progappchim 7 Occurrences trouvées, Dernière modification : il y a 8 ans ph_courbe_titrage_2011 @teaching:progappchim 7 Occurrences trouvées, Dernière modification : il y a 5 ans scipy_simple @teaching:progappchim 7 Occurrences trouvées, Dernière modification : il y a 7 ans suite_de_fibonacci-5 @teaching:progappchim 7 Occurrences trouvées, Dernière modification : il y a 9 ans poker_menteur @teaching:exos 6 Occurrences trouvées, Dernière modification : il y a 12 ans courbe_predominance_acide_2013 @teaching:progappchim 6 Occurrences trouvées, Dernière modification : il y a 12 ans factorielle-4 @teaching:progappchim 6 Occurrences trouvées, Dernière modification : il y a 11 ans osm_interrogation @teaching:progappchim 6 Occurrences trouvées, Dernière modification : il y a 11 ans ph-3d @teaching:progappchim 6 Occurrences trouvées, Dernière modification : il y a 5 ans polynomes-2 @teaching:progappchim 6 Occurrences trouvées, Dernière modification : il y a 9 ans tableau_periodique_2011 @teaching:progappchim 6 Occurrences trouvées, Dernière modification : il y a 5 ans histogramme_simple @teaching:progappchim:matplotlib_gallery 6 Occurrences trouvées, Dernière modification : il y a 8 ans desinformations 5 Occurrences trouvées, Dernière modification : il y a 2 ans collection_counter_exemple @teaching:progappchim 5 Occurrences trouvées, Dernière modification : il y a 5 ans collection_namedtuple_exemple @teaching:progappchim 5 Occurrences trouvées, Dernière modification : il y a 5 ans dictionaries_adn_arn_protein @teaching:progappchim 5 Occurrences trouvées, Dernière modification : il y a 10 ans entropie_melange @teaching:progappchim 5 Occurrences trouvées, Dernière modification : il y a 5 ans game_of_life_conway-2012 @teaching:progappchim 5 Occurrences trouvées, Dernière modification : il y a 5 ans regression_lineaire_2013 @teaching:progappchim 5 Occurrences trouvées, Dernière modification : il y a 12 ans representation_molecules_2013 @teaching:progappchim 5 Occurrences trouvées, Dernière modification : il y a 6 ans solubilite_ph_t @teaching:progappchim 5 Occurrences trouvées, Dernière modification : il y a 10 ans solvents_data_class @teaching:progappchim 5 Occurrences trouvées, Dernière modification : il y a 13 ans rotateur_biatomique @teaching:progappchim:matplotlib_gallery 5 Occurrences trouvées, Dernière modification : il y a 8 ans lancer_pieces @teaching:exos 4 Occurrences trouvées, Dernière modification : il y a 3 ans paradoxe_anniversaires @teaching:exos 4 Occurrences trouvées, Dernière modification : il y a 5 ans sequences_brins_adn @teaching:exos 4 Occurrences trouvées, Dernière modification : il y a 7 ans eigenvalues_and_eigenvectors @teaching:methcalchim 4 Occurrences trouvées, Dernière modification : il y a 5 ans partial_differential_equation @teaching:methcalchim 4 Occurrences trouvées, Dernière modification : il y a 4 ans system_of_linear_equations @teaching:methcalchim 4 Occurrences trouvées, Dernière modification : il y a 7 ans dictionary_adn_protein @teaching:progappchim 4 Occurrences trouvées, Dernière modification : il y a 13 ans diffusion_chimique_1d @teaching:progappchim 4 Occurrences trouvées, Dernière modification : il y a 11 ans fizz_buzz @teaching:progappchim 4 Occurrences trouvées, Dernière modification : il y a 9 ans koch_snowflake @teaching:progappchim 4 Occurrences trouvées, Dernière modification : il y a 9 ans periodical_table_electronegativity @teaching:progappchim 4 Occurrences trouvées, Dernière modification : il y a 6 ans polynomes @teaching:progappchim 4 Occurrences trouvées, Dernière modification : il y a 9 ans polynomes-8 @teaching:progappchim 4 Occurrences trouvées, Dernière modification : il y a 9 ans polynomes-11 @teaching:progappchim 4 Occurrences trouvées, Dernière modification : il y a 9 ans pygal_simple @teaching:progappchim 4 Occurrences trouvées, Dernière modification : il y a 7 ans rdkit @teaching:progappchim 4 Occurrences trouvées, Dernière modification : il y a 3 ans pka_pkb_plane @teaching:progappchim:matplotlib_gallery 4 Occurrences trouvées, Dernière modification : il y a 6 ans potentiel_morse @teaching:progappchim:matplotlib_gallery 4 Occurrences trouvées, Dernière modification : il y a 6 ans biblio-10.1021-acs.jchemed.7b00978 3 Occurrences trouvées, Dernière modification : il y a 7 ans etudes-capaes 3 Occurrences trouvées, Dernière modification : il y a 11 ans exos_energie_d_ionisation 3 Occurrences trouvées, Dernière modification : il y a 6 ans publis_diverses 3 Occurrences trouvées, Dernière modification : il y a 23 mois algos_graphes @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 5 ans conversion_temperature_2011 @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 12 ans ensemble_mandelbrot_2013 @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 11 ans factorielle @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 9 ans gaz_parfait_2011 @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 12 ans glossaire_chimie @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 7 ans grille_configurations_melange_binaire_2013 @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 12 ans math_nombres @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 6 ans multilateration @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 2 ans pavage_penrose_2013 @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 12 ans polynomes-3 @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 9 ans polynomes-4 @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 9 ans polynomes-5 @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 9 ans polynomes-6 @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 9 ans polynomes-9 @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 9 ans pressions_partielles_systemes_non_ideaux @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 10 ans random_walk_2d-simple @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 5 ans scikit_learn @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 8 ans suite_de_fibonacci @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 9 ans tableau_periodique_2013 @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 6 ans urllib @teaching:progappchim 3 Occurrences trouvées, Dernière modification : il y a 4 ans ir_spectrum_co @teaching:progappchim:matplotlib_gallery 3 Occurrences trouvées, Dernière modification : il y a 11 ans biblio-didactique-chimie 2 Occurrences trouvées, Dernière modification : il y a 3 ans psychologie_de_l_education 2 Occurrences trouvées, Dernière modification : il y a 22 mois stackexchange-chimie 2 Occurrences trouvées, Dernière modification : il y a 3 ans simulations_random_walks @teaching:exos 2 Occurrences trouvées, Dernière modification : il y a 12 ans algos_divers @teaching:progappchim 2 Occurrences trouvées, Dernière modification : il y a 3 ans nim @teaching:progappchim 2 Occurrences trouvées, Dernière modification : il y a 9 ans polynomes-7-contrib1 @teaching:progappchim 2 Occurrences trouvées, Dernière modification : il y a 13 ans polynomes-bonus @teaching:progappchim 2 Occurrences trouvées, Dernière modification : il y a 4 ans t-test @teaching:progappchim 2 Occurrences trouvées, Dernière modification : il y a 12 ans testjs @teaching:progappchim 2 Occurrences trouvées, Dernière modification : il y a 9 ans biblio-10.1021-acs.jchemed.5b00109 1 Occurrences trouvées, Dernière modification : il y a 7 ans biblio-10.1021-acs.jchemed.5b00203 1 Occurrences trouvées, Dernière modification : il y a 7 ans biblio-10.1021-ed078p481 1 Occurrences trouvées, Dernière modification : il y a 10 ans biblio-10.1021-ed080p779 1 Occurrences trouvées, Dernière modification : il y a 10 ans biblio-10.1021-ed086p1195 1 Occurrences trouvées, Dernière modification : il y a 10 ans biblio-10.1021-ed086p1277 1 Occurrences trouvées, Dernière modification : il y a 10 ans biblio-10.1333-s00897040769a 1 Occurrences trouvées, Dernière modification : il y a 10 ans cuisine_moleculaire 1 Occurrences trouvées, Dernière modification : il y a 3 ans terminologie-enseignement 1 Occurrences trouvées, Dernière modification : il y a 14 ans unites_acquis_apprentissages 1 Occurrences trouvées, Dernière modification : il y a 4 ans elasticite_caoutchouc_modele_conformationnel @teaching:exos 1 Occurrences trouvées, Dernière modification : il y a 8 ans physicochimie2-exercices @teaching:exos 1 Occurrences trouvées, Dernière modification : il y a 10 ans rappels-proba-stat @teaching:exos 1 Occurrences trouvées, Dernière modification : il y a 3 ans vdemery_espci @teaching:exos 1 Occurrences trouvées, Dernière modification : il y a 8 ans numerical_integration @teaching:methcalchim 1 Occurrences trouvées, Dernière modification : il y a 7 ans root-finding_algorithm @teaching:methcalchim 1 Occurrences trouvées, Dernière modification : il y a 7 ans attracteur_lorenz @teaching:progappchim 1 Occurrences trouvées, Dernière modification : il y a 6 ans recherches @teaching:progappchim 1 Occurrences trouvées, Dernière modification : il y a 10 ans