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 Wouter van Marle other posts by this author
Mar 19 2003 8:57AM messages near this date
Re: Tutorial on programming devices? | Re: Tutorial on programming devices?
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
had to send commands directly to a port (that was a project using Turbo
Pascal, felt to me as a pretty 'hacky' way of reading and writing your data,
using interrupts and all).

Good luck anyway!

Wouter.

"Enno Middelberg" <emiddelb@[...].de>  wrote in message
news:slrnb7gao8.f80.emiddelb@[...]..
>  Hi,
> 
>  I want to write some code to read data from my GPS receiver. The
>  signals will arrive via a serial link which I want to process and
>  store.
> 
>  I do not have a clue on how to read/write from/to devices using
>  Python. So far, I have only written scripts to process data stored in
>  files. Does anybody know a good starting point for reading or a
>  tutorial?
> 
> 
>  Many thanks,
> 
>  Enno


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