Difference between revisions of "Code/Python"

From LunaSys
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Links =
+
== Same line print ==
 +
 
 +
sys.stdout.write("\r%d" % i)
 +
sys.stdout.flush()
 +
 
 +
== General ==
  
 
* [http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html idiomatic python]
 
* [http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html idiomatic python]
Line 9: Line 14:
 
* [http://www.python.org/dev/peps/pep-0008/ pep8]
 
* [http://www.python.org/dev/peps/pep-0008/ pep8]
  
* [http://wiki.python.org/moin/PythonDecoratorLibrary examples]
+
* [http://wiki.python.org/moin/PythonDecoratorLibrary decorator examples]
 +
 
 +
* [http://www.ibm.com/developerworks/linux/library/l-cpdecor/index.html ibm decorator examples]
 +
 
 +
== GIL/Thread/Multiprocessing ==
 +
 
 +
* [http://jessenoller.com/2009/02/01/python-threads-and-the-global-interpreter-lock/ Nice detailled explanation of the GIL with benchmarks]
 +
 
 +
* [http://pyprocessing.berlios.de/doc/intro.html Threads, processes and the GIL]
 +
 
 +
* [http://www.ibm.com/developerworks/aix/library/au-multiprocessing/ Multiprocessing article by IBM]
 +
 
 +
* [http://mildopinions.wordpress.com/2008/05/31/python-and-parallel-programming/ General parallel programming in Python]
 +
 
 +
* [http://www.parallelpython.com/ Parallel Python]

Latest revision as of 11:49, 12 July 2013