[Tutor] Finding prime numbers script runs much faster when run via bash shell than idle

2011-04-01 Thread Jaime Gago
Hello there, Totally new to python with some *nix scripting knowledge. I wrote a simple piece of code as an exercise to an online -free- class that finds prime numbers. When I run it via IDLE it's taking way more time than if I run it via a (bash) shell (on Os X 10.6) while doing $>python -d myp

Re: [Tutor] Finding prime numbers script runs much faster when run viabash shell than idle

2011-04-02 Thread Jaime Gago
Ok I understand now, thank you very much! On Apr 2, 2011, at 1:05 AM, Alan Gauld wrote: > "Jaime Gago" wrote >> When I run it via IDLE it's taking way more time than if I run it via a >> (bash) shell (on Os X 10.6) while doing $>python -d mypp.py >>