[New-bugs-announce] [issue6708] raw_input() calls generate compile errors.
starz
report at bugs.python.org
Sat Aug 15 04:21:10 CEST 2009
New submission from starz <b_lynch1 at yahoo.com>:
# ------ SOURCE -------
# cheerleading program
word = raw_input("Who do you go for? ")
for letter in word:
call = "Gimme a " + letter + "!"
print (call)
print (letter) + "!"
print( "What does that spell?")
print( word + "!")
# ------- end source -------
## within python.help()
## --------------------
help> raw_input()
no Python documentation found for 'raw_input()'
help>
### --- run from O/S ---
C:\Program Files\OpenOffice.org 2.0\program\python3.1>python
PYsource\test3.py
Traceback (most recent call last):
File "PYsource\test3.py", line 22, in <module>
word = raw_input("Who do you go for? ")
NameError: name 'raw_input' is not defined
C:\Program Files\OpenOffice.org 2.0\program\python3.1>
----------
components: Library (Lib)
files: test3.py
messages: 91584
nosy: starz
severity: normal
status: open
title: raw_input() calls generate compile errors.
type: behavior
versions: Python 3.1
Added file: http://bugs.python.org/file14732/test3.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6708>
_______________________________________
More information about the New-bugs-announce
mailing list