Multiple Scripts through Idle on Mac

A forum for general discussion of the Python programming language.

Multiple Scripts through Idle on Mac

Postby ROVguy » Wed Mar 13, 2013 7:56 pm

Multiple Scripts through Idle on Mac

I am running 2 python programs each talking to a different Arduino card through Pyserial. When doing this on windows 7 everything works fine and I can run both python scripts at the same time to talk to the 2 arduino cards.

Now when I try this on Mac I can only run 1 program at a time through Idle. When one script is running and I try the second it stops the first one. Each program runs fine by itself but I can’t run both programs simultaneously. I have tried this with Python Launcher but when I do I get an error message. “No module named serial”.

A) How do I get Idle to run 2 scripts simultaneously?
and or
b) How do I get python launcher to find Pyserial?
ROVguy
 
Posts: 2
Joined: Wed Mar 13, 2013 7:32 pm

Re: Multiple Scripts through Idle on Mac

Postby micseydel » Wed Mar 13, 2013 9:27 pm

Just launch your script through a terminal, rather than IDLE.
Join the #python-forum IRC channel on irc.freenode.net!
User avatar
micseydel
 
Posts: 1130
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Re: Multiple Scripts through Idle on Mac

Postby ROVguy » Thu Mar 14, 2013 2:03 am

Well that was easy!
Just had to find the process of launching .py script in terminal.

All is good now.

Thanks
ROVguy
 
Posts: 2
Joined: Wed Mar 13, 2013 7:32 pm


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest