This question already has an answer here:
How would I establish a serial connection with python without using the serial monitor?
What I want to do is give my python script some input and have the arduino do something (blink for example)
I also want to be able to read in data with the arduino to give it to my python script.
What modules for python would be useful? I'm just starting out and don't have much of an idea for this one.
I am using a windows7 machine with python 2.7.6 and have an UNO board and a Leonardo board that I want to be able to use.