Ok. I'm looking at making a program that can control an industrial machine via the serial port. Right now I'm extremely rusty in terms of programming skills, I probably haven't done more than fifty lines of code in the past year or two, so I'm just looking to make a proof of concept demo where I have a program that sends signals to the machine and gets a reaction.
I'd like to use Python simply because I'm comfortable with it right now. What I want to know is how I would go about doing the basic sending/receiving information via the serial port. I've never really put any thought towards it.
This is definitely an overambitious project, and it will probably fall apart very soon, but I'd like to see how far I can get.