.. index:: pair: syntax; pep8 ======================= Mieux coder avec Python ======================= Cette page recense les bonnes pratiques et des liens pour coder de façon plus "pythonique". .. toctree:: :maxdepth: 2 web_and_help/books.rst web_and_help/afpy.rst web_and_help/help.rst Bonnes pratiques ================ Python a des conventions, pour l'écriture c'est la `PEP8`_ |en_flag|. Une pésentation faite à Pycon 2007 recense l'ensemble des bonnes pratiques * `Code Like a Pythonista: Idiomatic Python`_ |en_flag| par `David Goodger`_ * `Version traduite`_ par `David Larlet`_ Evolution du language ===================== * `Python 3000 `_. |en_flag| Chaque nouvelle release apporte son lot de nouveautés et d'optimisations : * Quoi de neuf avec `Python 2.6 `_. |en_flag| * Quoi de neuf avec `Python 2.5 `_. |en_flag| * Quoi de neuf avec `Python 2.4 `_. |en_flag| Notes ===== .. toctree:: :maxdepth: 2 python_code/booleens.rst python_code/function_return_none.rst python_code/compare_time_execution.rst .. _`PEP8`: http://www.python.org/dev/peps/pep-0008/ .. _`Code Like a Pythonista: Idiomatic Python`: http://python.net/~goodger/projects/pycon/2007/idiomatic/ .. _`David Goodger`: http://python.net/~goodger/ .. _`Version traduite`: http://www.biologeek.com/bonnes-pratiques,conferences,django,python,traduction/bonnes-pratiques-et-astuces-python/ .. _`David Larlet`: http://www.biologeek.com/ .. |en_flag| image:: http://doc.makina-corpus.org/python/_static/en.png