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
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
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
below is the running output