[Tutor] Share variables between py scripts

2006-10-06 Thread Bennett, Joe
Can anyone direct me to some documentation on how to take variables from one py script, execute and pass them to another script? Then I need to get data back from the executed script? I've been searching Google and I see information, but I am in need of some examples...     Thanks! -Joehttp://www.d

Re: [Tutor] question about serial coms

2005-11-14 Thread Bennett, Joe
I think so, what I'm doing is opening a text file, reading line 1 and writing that text to the serial port. Then read line 2 and so on... So it mimics a string rather than a list or dictionary. But I would think this would give you a similiar result. I can try it to confirm. Here is the entire c

Re: [Tutor] question about serial coms

2005-11-14 Thread Bennett, Joe
I have been working with pyserial. One question I have is this. I have a loop that writes to the serial port and then waits about 500ms and then reads from the serial port. The first thing read from the serial port is ALWAYS the data written to the serial port... I must be missing something obvious