Re: [Tutor] command counter

2014-09-05 Thread Dave Angel
Crush Wrote in message: > My code is as follows... > > count = 0 > while count < 3: > count += 1 >subprocess.Popen('command') > if count == 3: > sys.exit() > > The line beginning "subp" is indented further than the one before it, so this script would terminate with an indentation erro

Re: [Tutor] command counter

2014-09-05 Thread Dave Angel
Bo Morris Wrote in message: > > subprocess.Popen("command") && add 1 to count. If count equals n number, do something. > I have tried count = 0 count += 1, but count does not seem to be > incrementing. It would be much better to post the code that "does not seem..." There are many possi