serial I/O install fail -- DLL not found

2010-11-01 Thread Fossil
Just starting with Python. Installed: Python 2.7 pywin32-214.win32-py2.7.exe pyserial-2.5.win32.exe on a Home WinXP SP3 Toshiba laptop with 2GB memory. Open Python and try to do simple I/O test and can't even get past first line. Transcript below. You will see that __name__ is defined as '_

Re: serial I/O install fail -- DLL not found

2010-11-01 Thread Fossil
Thank you, Ian. You put your finger on the problem. As I thrashed around earlier, I had installed serial i/o pieces before the clean install pieces of pywin32-214.win32-py2.7.exe pyserial-2.5.win32.exe I did a complete de-install and re-install. Now the serial i/o is functioning -- I'm stil

Re: a question about the #prefix of sys.argv

2008-06-02 Thread Fossil Pan
On Jun 2, 8:50 am, Aldarion <[EMAIL PROTECTED]> wrote: > On 6月2日, 上午8时05分, Peter Otten <[EMAIL PROTECTED]> wrote: > > > Aldarion wrote: > > > for the little script > > > #egg.py > > > import sys > > > for k,v in enumerate(sys.argv): > > > print k,v > > > > it ignores the part after # on linux > >