On Mon, 2002-08-19 at 11:43, Nick Rout wrote: > Naturally I want to do something in linux, preferably from a higher > level language such as python (I have never learned c and don't propose > to if i can avoid it). Forth would be fine too.
Something like may help you on your way -- http://www.hare.demon.co.uk/ioport/ioport.html You'll find that typically such packages are just wrappers around the underlying C functionality, which has advantages and disadvantages. At least you don't have to do _all_ the programming in C. (I recently re-implemented a program that took 90 minutes to prototype in Python in about 3 days using C). If you'd like to wrap up some C modules yourself, I can recommend http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ . http://www.cosc.canterbury.ac.nz/~mpj17/pyrex-guide/ is a great (straightforward, well written) tutorial. -- Best regards, Richard Waid Network/Software Engineer http://iopen.co.nz
