first import book
This commit is contained in:
parent
6be2701fd8
commit
dfd9c869d5
233 changed files with 47797 additions and 0 deletions
135
book/_sources/index.rst
Normal file
135
book/_sources/index.rst
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
|
||||
.. © 2015 Johann Dreo
|
||||
|
||||
.. |br| raw:: html
|
||||
|
||||
<br />
|
||||
|
||||
=================================================
|
||||
Apprendre à programmer |br| (sans se faire chier)
|
||||
=================================================
|
||||
|
||||
.. image:: ../_images/aapssfc.png
|
||||
:scale: 30%
|
||||
:alt: The grumpy cat loves you
|
||||
|
||||
Introduction
|
||||
############
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
principes
|
||||
introduction
|
||||
python
|
||||
|
||||
|
||||
|
||||
Exemples par difficulté
|
||||
#######################
|
||||
|
||||
.. Seul chapitre avec un niveau de TOC de 2
|
||||
|
||||
Jeux simples
|
||||
============
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
nombre
|
||||
pendu
|
||||
|
||||
Jeux de tableau
|
||||
===============
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
|
||||
|
||||
|
||||
Exemples par domaine
|
||||
####################
|
||||
|
||||
Simulation
|
||||
==========
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
mounty_hall
|
||||
|
||||
Dessin procédural
|
||||
=================
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
|
||||
Intelligence artificielle
|
||||
=========================
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
pendu
|
||||
|
||||
Système
|
||||
=======
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
|
||||
Sécurité et réseaux
|
||||
===================
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
|
||||
|
||||
|
||||
Exemples par concept
|
||||
####################
|
||||
|
||||
Boucles imbriquées
|
||||
==================
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
|
||||
Récursivité
|
||||
===========
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
|
||||
Aléatoire
|
||||
=========
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
mounty_hall
|
||||
|
||||
Graphes
|
||||
=======
|
||||
|
||||
|
||||
|
||||
Exemples par approche
|
||||
#####################
|
||||
|
||||
Programmation impérative
|
||||
========================
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
nombre
|
||||
mounty_hall
|
||||
|
||||
|
||||
Programmation fonctionnelle
|
||||
===========================
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
pendu
|
||||
|
||||
Programmation Objet
|
||||
===================
|
||||
.. toctree::
|
||||
|
||||
|
||||
11
book/_sources/introduction.rst
Normal file
11
book/_sources/introduction.rst
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
|
||||
Qu'est-ce que l'informatique ?
|
||||
==============================
|
||||
|
||||
Qu'est-ce qu'un ordinateur ?
|
||||
----------------------------
|
||||
|
||||
Qu'est-ce que la programmation ?
|
||||
--------------------------------
|
||||
|
||||
10
book/_sources/mounty_hall.rst
Normal file
10
book/_sources/mounty_hall.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
Mounty Hall
|
||||
-----------
|
||||
|
||||
La chèvres et la voiture
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
L'informatique au secours du cerveau
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
9
book/_sources/nombre.rst
Normal file
9
book/_sources/nombre.rst
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Avec un nombre
|
||||
---------------
|
||||
|
||||
Devine un nombre
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
Pense à un nombre
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
9
book/_sources/pendu.rst
Normal file
9
book/_sources/pendu.rst
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
Le pendu
|
||||
--------
|
||||
|
||||
Jouer au pendu
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
IA du pendu
|
||||
^^^^^^^^^^^
|
||||
7
book/_sources/principes.rst
Normal file
7
book/_sources/principes.rst
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
Principes de ce livre
|
||||
---------------------
|
||||
|
||||
Conventions utilisées
|
||||
---------------------
|
||||
|
||||
40
book/_sources/python.rst
Normal file
40
book/_sources/python.rst
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
|
||||
Bases de Python
|
||||
===============
|
||||
|
||||
Une calculette
|
||||
--------------
|
||||
|
||||
Branchement conditionnel : `if`
|
||||
-------------------------------
|
||||
|
||||
Boucles : `for` et `while`
|
||||
--------------------------
|
||||
|
||||
Fonctions
|
||||
---------
|
||||
|
||||
Listes
|
||||
------
|
||||
|
||||
Dictionnaires
|
||||
-------------
|
||||
|
||||
Mise en forme du texte
|
||||
----------------------
|
||||
|
||||
Modules
|
||||
-------
|
||||
|
||||
|
||||
|
||||
.. activecode:: example2
|
||||
..
|
||||
.. import turtle
|
||||
.. t = turtle.Turtle()
|
||||
..
|
||||
.. for i in range(4):
|
||||
.. t.forward(100)
|
||||
.. t.right(90)
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue