Difference between revisions of "Code/Python"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | == Same line print == | ||
+ | |||
+ | sys.stdout.write("\r%d" % i) | ||
+ | sys.stdout.flush() | ||
+ | |||
== General == | == General == | ||
Line 17: | Line 22: | ||
* [http://jessenoller.com/2009/02/01/python-threads-and-the-global-interpreter-lock/ Nice detailled explanation of the GIL with benchmarks] | * [http://jessenoller.com/2009/02/01/python-threads-and-the-global-interpreter-lock/ Nice detailled explanation of the GIL with benchmarks] | ||
− | * [http:// | + | * [http://pyprocessing.berlios.de/doc/intro.html Threads, processes and the GIL] |
− | * [http:// | + | * [http://www.ibm.com/developerworks/aix/library/au-multiprocessing/ Multiprocessing article by IBM] |
− | * [http:// | + | * [http://mildopinions.wordpress.com/2008/05/31/python-and-parallel-programming/ General parallel programming in Python] |
− | * [http:// | + | * [http://www.parallelpython.com/ Parallel Python] |
Latest revision as of 11:49, 12 July 2013
Same line print
sys.stdout.write("\r%d" % i) sys.stdout.flush()