PySpeed

From Python
(Difference between revisions)
Jump to: navigation, search
(Graphical progress bar (nested))
(Graphical progress bar (nested))
Line 16: Line 16:
 
=== Graphical progress bar (nested) ===
 
=== Graphical progress bar (nested) ===
  
Produced by the following code:
+
[[Image:Gtk speed.png]]
  
import speed
+
Was produced by the following code:
+
for i in speed.gprogress(xrange(5)):
+
    for j in speed.gprogress(xrange(5000000)): pass
+
  
[[Image:Gtk speed.png]]
+
<syntaxhighlight line lang="python">
 +
import speed
 +
 
 +
for i in speed.gprogress(xrange(5)):
 +
    for j in speed.gprogress(xrange(5000000)): pass
 +
 
 +
</syntaxhighlight>

Revision as of 01:23, 8 November 2010

PySpeed - flexible progress bars for python

This is a temporary wiki for the PySpeed project.

It is mainly here because I did not find a proper place to put screenshots :-)

You are free to use this page for any purpose related to the project.

Screenshots

Textual progress bar (with IPython)

Ipython speed.png

Graphical progress bar (nested)

Gtk speed.png

Was produced by the following code:

  1. import speed
  2.  
  3. for i in speed.gprogress(xrange(5)):
  4.     for j in speed.gprogress(xrange(5000000)): pass
Personal tools