From: Chris F. <cf...@th...> - 2007-01-03 15:32:51
|
Are you using DOS? Windows and unix variants control access to the hardware. The DOS port of python may provide for access to hardware ports, but the standard distribution does not. What is this line of code supposed to do? A little context would go along way! If you're moving from a dos/pascal environment to something more recent, then you will have to rewrite all the serial routines, which may or may not be difficult, depending on how your code in structured and how much expertise is available. Since you are porting from pascal already, this may be less of an issue. Running VPython in a DOS environment might work, since the python port to DOS seems to have some opengl and numeric support, but it will probably take a recompile. Chris |