User Tools

Site Tools


python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
python [2010/10/11 13:36] ginkopython [2010/10/11 13:54] ginko
Line 95: Line 95:
   * [[http://python.developpez.com/cours/DiveIntoPython/php/frdiveintopython/power_of_introspection/and_or.php|L'astuce and/or]]   * [[http://python.developpez.com/cours/DiveIntoPython/php/frdiveintopython/power_of_introspection/and_or.php|L'astuce and/or]]
   * [[http://www.siafoo.net/article/56|Type checking in Python]]   * [[http://www.siafoo.net/article/56|Type checking in Python]]
 +===== Best practices ===== 
 +  * [[http://www.canonical.org/~kragen/isinstance/|Do not use isinstance()]] 
 +===== Programmation événementielle ===== 
 +  * [[http://en.wikipedia.org/wiki/Twisted_%28software%29|Twisted]] (framework réseau, supporte de nombreux protocoles) 
 +  * [[http://www.gevent.org/|Gevent]] (framework réseau également, supporte moins de choses, mais plus léger que Twisted) 
 +  * [[http://code.google.com/p/gevent/wiki/ProjectsUsingGevent|Projets basés sur Gevent]] 
 +  * [[http://bitbucket.org/denis/gevent/src/tip/examples/concurrent_download.py#cl-4|Exemple simple d'utilisation de Gevent]]
 ===== Profilage, optimisation et performances ===== ===== Profilage, optimisation et performances =====
   * [[python_tuning|Tuning python]]   * [[python_tuning|Tuning python]]
python.txt · Last modified: 2014/09/13 14:03 by ginko