Aug-22-2018, 07:42 PM
(Aug-22-2018, 03:14 PM)tuxo9999 Wrote: i don´t understand why i can not run it because if i just write run sales.py it runs correctly, it´s when i put it in the while when it does not work
If you just put
run sales.py
, as you say, then it will still give an error. run
doesn't mean anything in python, and will be an error always.If you have some code that works without the while loop, please share it. It sounds like you're confusing python and shell scripts, and trying to mix them together into an unholy perl-like abomination.