[Tutor] serial -->file tranfer
Kent Johnson
kent37 at tds.net
Sat Mar 1 14:01:14 CET 2008
govind goyal wrote:
> Hello,
>
> I have a modem connect to my Windows XP PC through a serial cable.
> I Want to transfer the file(e.g '.TXT' format) from XP PC to serial
> modem and also
> from Serial modem to winXP PC.
>
> Can anybody help me out how to do it in Python and provide some sample
> code or useful links
> so that I can proceed further in my project??
http://pyserial.sourceforge.net/
The enhancedserial example looks pretty close to what you need:
http://pyserial.cvs.sourceforge.net/pyserial/pyserial/examples/enhancedserial.py?revision=1.1&view=markup
Kent
More information about the Tutor
mailing list