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 Peter Hansen other posts by this author
Mar 19 2003 12:43PM messages near this date
Re: Tutorial on programming devices? | Validate user on FreeBSD
Wouter van Marle wrote:
>  
>  www.pyhton.org is a very valuable source on these things.

Even more valuable is http://www.python.org !

>  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.

The OP didn't specify which platform he was using.  If it's Windows,
the above won't work of course, as you pointed out... in either case,
using http://pyserial.sourceforge.net/ is his best bet.  That 
module will allow greater control over various aspects than the raw
/dev/ttySxx approach and this sort of thing is often, though not
always, essential for talking to devices such as a GPS.

To the OP: check the link above and the archives for similar questions 
and examples.  If you still need help after that, feel free to post
here again!

-Peter
-- 
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