[Tutor] command counter

Bo Morris crushed26 at gmail.com
Fri Sep 5 22:40:08 CEST 2014


I think I figured it out...

each time I run subprocess.Popen("command"), I also have to count += 1,
which adds 1 to count each time the command is run. Is this correct, or is
there a better way?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140905/95d79c0d/attachment-0001.html>


More information about the Tutor mailing list