Skip to content

Commit

Permalink
faq
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Dec 21, 2016
1 parent 00dd6a1 commit 85343f3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ def write_version():
r = process_standard_options_for_setup( r = process_standard_options_for_setup(
sys.argv, __file__, project_var_name, sys.argv, __file__, project_var_name,
unittest_modules=["pyquickhelper"], unittest_modules=["pyquickhelper"],
additional_notebook_path=["jyquickhelper", "pyquickhelper", "pyensae", additional_notebook_path=["jyquickhelper", "pyquickhelper", "pyensae",
"pyrsslocal", "pymyinstall", "pymmails", "ensae_projects"], "pyrsslocal", "pymyinstall", "pymmails", "ensae_projects"],
requirements=["pyquickhelper", "jyquickhelper",], requirements=["pyquickhelper", "jyquickhelper", ],
blog_list=os.path.abspath(os.path.join( blog_list=os.path.abspath(os.path.join(
"src", project_var_name, package_data[project_var_name][0])), "src", project_var_name, package_data[project_var_name][0])),
fLOG=logging_function, fLOG=logging_function,
Expand Down
22 changes: 22 additions & 0 deletions src/code_beatrix/__init__.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@
""" """
@file @file
@brief Main file @brief Main file
.. faqref::
:title: Pourquoi Python?
`Python <https://www.python.org/>`_
est un langage de programmation très répandu aujourd'hui
qui fut choisi à l'`ENSAE <http://www.ensae.fr/ensae/fr/>`_ en
2005 pour remplacer le `C++ <https://fr.wikipedia.org/wiki/C%2B%2B>`_.
Dès la première année, il est apparu que ce nouveau langage permettait
aux étudiants de mettre leurs idées plus rapidement en forme.
Les opinions ont commencé alors un peu à changer à propos de la programmation.
Il est très rare maintenant qu'un étudiant quitte une grande école
d'ingénieurs sans programmer.
Il a été choisi pour trois raisons. La première est sa syntaxe
car il oblige les dévelopeurs à aligner leurs instructions
ce qui rend les programmes plus lisibles.
La seconde parce que sa `grammaire <https://docs.python.org/3/reference/grammar.html>`_
est une des plus courte (voir aussi
`The Python Language Reference <https://docs.python.org/3/reference/>`_).
Enfin, beaucoup de librairies existantes mais codées en C++ étaient déjà
disponibles à l'époque. 10 ans plus tard, le langage est quasi incontournable
dès qu'on touche au traitement de données.
""" """
import os import os


Expand Down

0 comments on commit 85343f3

Please sign in to comment.