207 lines
12 KiB
HTML
207 lines
12 KiB
HTML
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
||
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr">
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
<title>Apprentissage de la programmation avec python — Documentation Formation Python 1</title>
|
||
<link rel="stylesheet" href="_static/classic.css" type="text/css" />
|
||
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||
<script type="text/javascript">
|
||
var DOCUMENTATION_OPTIONS = {
|
||
URL_ROOT: './',
|
||
VERSION: '1',
|
||
COLLAPSE_INDEX: false,
|
||
FILE_SUFFIX: '.html',
|
||
HAS_SOURCE: true,
|
||
SOURCELINK_SUFFIX: '.txt'
|
||
};
|
||
</script>
|
||
<script type="text/javascript" src="_static/jquery.js"></script>
|
||
<script type="text/javascript" src="_static/underscore.js"></script>
|
||
<script type="text/javascript" src="_static/doctools.js"></script>
|
||
<script type="text/javascript" src="_static/translations.js"></script>
|
||
<link rel="index" title="Index" href="genindex.html" />
|
||
<link rel="search" title="Recherche" href="search.html" />
|
||
<link rel="next" title="Prise en main" href="getting-started.html" />
|
||
</head>
|
||
<body>
|
||
<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
|
||
<table><tr><td>
|
||
<img src="_static/sphinx.png" alt="logo" />
|
||
</td><td>
|
||
<h1> Programmation python</h1>
|
||
</td></tr></table>
|
||
</div>
|
||
|
||
<div class="related" role="navigation" aria-label="related navigation">
|
||
<h3>Navigation</h3>
|
||
<ul>
|
||
<li class="right" style="margin-right: 10px">
|
||
<a href="genindex.html" title="Index général"
|
||
accesskey="I">index</a></li>
|
||
<li class="right" >
|
||
<a href="py-modindex.html" title="Index des modules Python"
|
||
>modules</a> |</li>
|
||
<li class="right" >
|
||
<a href="getting-started.html" title="Prise en main"
|
||
accesskey="N">suivant</a> |</li>
|
||
<a href="#">Programmation python </a> »
|
||
|
||
</ul>
|
||
</div>
|
||
|
||
<p> </p>
|
||
|
||
|
||
<div class="document">
|
||
<div class="documentwrapper">
|
||
<div class="bodywrapper">
|
||
<div class="body" role="main">
|
||
|
||
<div class="section" id="apprentissage-de-la-programmation-avec-python">
|
||
<h1>Apprentissage de la programmation avec python<a class="headerlink" href="#apprentissage-de-la-programmation-avec-python" title="Lien permanent vers ce titre">¶</a></h1>
|
||
<div class="toctree-wrapper compound">
|
||
<ul>
|
||
<li class="toctree-l1"><a class="reference internal" href="getting-started.html">Prise en main</a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="getting-started.html#usage-de-python">usage de python</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="settings.html">Mettre en place son environnement de travail</a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="settings.html#les-editeurs-pour-python">Les éditeurs pour python</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="settings.html#idle">IDLE</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="settings.html#nano">nano</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="settings.html#gedit">Gedit</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="settings.html#vi">Vi</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="settings.html#configurer-son-editeur-resume">configurer son éditeur : résumé</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="settings.html#configurer-son-prompt-python">configurer son prompt python</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="settings.html#consulter-la-librairie-standard">Consulter la librairie standard</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="type.html">Typage, types de base</a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="type.html#unicode">unicode</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="type.html#tuples-listes-dictionnaires">tuples, listes, dictionnaires</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="type.html#difference-entre-type-et-isinstance">différence entre type et isinstance</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="structures.html">Structures de contrôle et fonctions</a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="structures.html#fonctions">fonctions</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="structures.html#le-polymorphisme-parametrique">le polymorphisme paramétrique</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="testsunitaires.html">Tests unitaires et pile d’appels</a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="testsunitaires.html#options-utiles-dans-py-test">options utiles dans <cite>py.test</cite></a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="docutils.html">Sphinx et docutils</a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="docutils.html#docutils">Docutils</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="docutils.html#la-documentation-technique">La documentation technique</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="programmation-python-connaissances-de-base">
|
||
<h1>Programmation python, connaissances de base<a class="headerlink" href="#programmation-python-connaissances-de-base" title="Lien permanent vers ce titre">¶</a></h1>
|
||
<div class="toctree-wrapper compound">
|
||
<ul>
|
||
<li class="toctree-l1"><a class="reference internal" href="classes.html">Définir et manipuler des classes</a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="classes.html#programmation-objet-premiere-approche">programmation objet (première approche)</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="classes.html#attribut-d-objets-et-de-classes">attribut d’objets et de classes</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="classes.html#le-dict-avec-l-heritage-de-classe">le __dict__ avec l’héritage de classe</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="classes.html#method-resolution-object">method resolution object</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="classes.html#manipulations-sur-les-classes-et-les-objets">Manipulations sur les classes et les objets</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="classes.html#les-patrons-de-conception">les patrons de conception</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="classes.html#metaclasses">métaclasses</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="prompt.html">Interactions avec l’utilisateur</a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="prompt.html#les-prompts">les prompts</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="prompt.html#le-module-cmd-et-les-interpreteurs">le module <code class="docutils literal"><span class="pre">cmd</span></code> et les interpréteurs</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="prompt.html#lire-et-ecrire-dans-un-fichier">lire et écrire dans un fichier</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="specialmethods.html">Programmation python courante</a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="specialmethods.html#les-espaces-de-nommage">les espaces de nommage</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="specialmethods.html#modules-charges-et-modules-importes">modules chargés et modules importés</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="specialmethods.html#connaitre-la-version-d-un-module">Connaître la version d’un module</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="specialmethods.html#les-methodes-speciales">Les méthodes spéciales</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="specialmethods.html#attributs-et-accesseurs">Attributs et accesseurs</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="exceptions.html">Le style de programmation par exceptions</a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="exceptions.html#la-regle-du-samourai">La règle du samouraï</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="exceptions.html#utiliser-la-pile-d-appel-pour-debugger">utiliser la pile d’appel pour débugger</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="exceptions.html#les-exceptions-imbriquees">Les exceptions imbriquées</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="exceptions.html#la-hierarchie-des-exceptions">La hiérarchie des exceptions</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="DesignPatterns.html">Les design patterns</a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="DesignPatterns.html#le-duck-typing">Le duck typing</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="DesignPatterns.html#hold-or-wrap">hold or wrap ?</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="DesignPatterns.html#wrapper-can-restrict-inheritance-cannot-restrict">wrapper can restrict, inheritance cannot restrict</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="DesignPatterns.html#pattern-de-creation-singleton">Pattern de création : singleton</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="DesignPatterns.html#la-factory">la factory</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="DesignPatterns.html#template-method-self-delegation">template method (self delegation)</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="stdlib.html">La <code class="docutils literal"><span class="pre">librairie</span> <span class="pre">standard</span></code></a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="stdlib.html#module-builtins">les builtins</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="recapitulatifs-de-la-formation">
|
||
<h1>Récapitulatifs de la formation<a class="headerlink" href="#recapitulatifs-de-la-formation" title="Lien permanent vers ce titre">¶</a></h1>
|
||
<div class="toctree-wrapper compound">
|
||
<ul>
|
||
<li class="toctree-l1"><a class="reference internal" href="exercices.html">Liste des exercices</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="exercices.html#exercices-a-faire">exercices à faire</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="index-et-recherche">
|
||
<h1>Index et recherche<a class="headerlink" href="#index-et-recherche" title="Lien permanent vers ce titre">¶</a></h1>
|
||
<ul class="simple">
|
||
<li><a class="reference internal" href="genindex.html"><span class="std std-ref">Index</span></a></li>
|
||
<li><a class="reference internal" href="py-modindex.html"><span class="std std-ref">Index du module</span></a></li>
|
||
<li><a class="reference internal" href="search.html"><span class="std std-ref">Page de recherche</span></a></li>
|
||
</ul>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
|
||
<a href="search.html"> Recherche</a> |
|
||
<!-- a href="genindex.html"> Genindex</a-->
|
||
|
||
</div>
|
||
|
||
<div class="clearer"></div>
|
||
</div>
|
||
<div class="related" role="navigation" aria-label="related navigation">
|
||
<h3>Navigation</h3>
|
||
<ul>
|
||
<li class="right" style="margin-right: 10px">
|
||
<a href="genindex.html" title="Index général"
|
||
>index</a></li>
|
||
<li class="right" >
|
||
<a href="py-modindex.html" title="Index des modules Python"
|
||
>modules</a> |</li>
|
||
<li class="right" >
|
||
<a href="getting-started.html" title="Prise en main"
|
||
>suivant</a> |</li>
|
||
<a href="#">Programmation python </a> »
|
||
|
||
</ul>
|
||
</div>
|
||
<div class="footer" role="contentinfo">
|
||
© Copyright 2015, cadoles (www.cadoles.com).
|
||
Créé avec <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.7.
|
||
</div>
|
||
</body>
|
||
</html> |