Author msp
Recipients msp
Date 2014-07-09.12:56:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404910588.77.0.186634396474.issue21946@psf.upfronthosting.co.za>
In-reply-to
Content
correction: the markers for transcripts 1 and 2 were inserted at the wrong location; here's the correction:


-- begin transcript 1 of cmd session --

C:\Temp>where python
C:\Python27\python.exe

C:\Temp>python --version
Python 2.7.8

C:\Temp>type input.py

i = raw_input("enter y or n: ")
print(repr(i))
print([ord(c) for c in i])

C:\Temp>python input.py
enter y or n: y
'y'
[121]

C:\Temp>python -u input.py
enter y or n: y
'y\r'
[121, 13]


-- end transcript 1 of cmd session --


-- begin transcript 2 of cmd session --

C:\Temp>python -u
Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print "hello world"
  File "<stdin>", line 1
    print "hello world"
                       ^
SyntaxError: invalid syntax
>>>

-- end transcript 2 of cmd session --
History
Date User Action Args
2014-07-09 12:56:28mspsetrecipients: + msp
2014-07-09 12:56:28mspsetmessageid: <1404910588.77.0.186634396474.issue21946@psf.upfronthosting.co.za>
2014-07-09 12:56:28msplinkissue21946 messages
2014-07-09 12:56:28mspcreate