dear experts,
while working through Alan C. Goulds excellent update on Learning to
Program I copied
the file echoinput.py from the Conversing with the user section:
import sys
inp = sys.stdin.readline()
while inp.strip != '':
print(inp)
inp = sys.stdin.readline()
in my IDLE 3.6 location and another copied a second file in one of my
personal folders in my PC (W 10).
If I open echoinput.py in IDLE 3.6 I get the script as written.
If I open and edit it in my personal folder it opens in a Python 2.7 window
although, I
deleted Python 2.7 previously.
Further on, if I add a print statement to echoinput.py it gets printed
regardless of
parenteses or none in the echoinput.py file in my personal folder.
What causes this odd behavior ?
Finally a may be too late comment on the update of Learning to Program :
Personally I would appreciate a definition of an instance
and in referring to Windows XP Home in the Coding Style section (Note for
Windows users)
I thought W XP has expired.
Marcus Luetolf
---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor