ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
Re: Tutorial on programming devices?
by Terry Reedy other posts by this author
Mar 19 2003 5:12PM messages near this date
Re: Tutorial on programming devices? | Re: Tutorial on programming devices?
"Wouter van Marle" <wouterm@[...].com>  wrote in message
news:b59ams$6jp3@[...]..
>  www.pyhton.org is a very valuable source on these things.
> 
>  And besides that, isn't reading/writing from some port (almost) the
same as
>  read/write to a file? Just use /dev/ttySxx (with xx your port
number) as
>  filename. Supposed to work like that (never tried myself). Just a
thought.
> 
>  Oh if you are not in Linux/Unix/etc it will probably be different.
In DOS I

In WIN/DOS, I believe, one can open "com1:', 'lpt1:', etc.  But using
pyserial or higher-level package is probably better way to go.

TJR




-- 
http://mail.python.org/mailman/listinfo/python-list
Thread:
Enno Middelberg
Enno Middelberg
Andrew Bennetts
Wouter van Marle
Terry Reedy
yaipa h.
Peter Hansen

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved