Serial comm. in Windows 95
Chris Liechti
cliechti at gmx.net
Mon Dec 16 15:40:00 EST 2002
Peter Åstrand <peter at cendio.se> wrote in
news:mailman.1040038700.17853.python-list at python.org:
> I need to communicate with a modem from Windows 95 (Swedish version).
> I've tried every package I can find, but without any luck:
>
>
> 1) In Windows NT, it's possible to do os.open("com2:"). For some
> reason, this does not work in Windows 95: Sometimes I get "no such
> file or directory". (It seems like this happens when cwd is a long
> directory.) Sometimes the open succeeds and I can do os.writes(), but
> os.read() always hangs without returning any data.
>
> 2) When trying Mark Hammonds "Win32 extensions", the import of
> win32file always fails. On one machine we have, the error is:
> ImportError: DLL load failed: En enhet som är ansluten till datorn
> fungerar inte.
that sounds like a broken windows installation.
> 3) pyserial and USPP (http://pyserial.sourceforge.net/) is based on
> win32file (se above)
pyserial works fine on win98, im using that on several machines
> I'm running out of ideas... I really need to get this to work on
> Windows 95, so upgrading Windows is not an option.
win95 is no longer supported by microsoft. you'll run in one problem after
an onther, condisder using a real OS ;-)
chris
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list