Thanks to everyone. that raw_input function did the trick. I think the Beginning Python book I had out of the library was geared to release 3. I'm sure I'll back with more questions. This is a far cry from assembler language programming on the old IBM mainframes!
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Best posts made by paulgottlieb
-
RE: Trouble getting started with Pythonista
-
Trouble getting started with Pythonista
I'm a retired programmer and I'm new to python. My question is so simple it's embarrassing. I installed python on my desktop and I also installed Pythonista on my iPad. The following simple program works perfectly on the desk top, but not on my iPad:
input_var = ("enter your name: ")
print("Hello! " + input_var)on the PC this works, but in Pythonista on the iPad, when I enter my name, Paul, the print statement fails with "NameError: name 'Paul' is not defined." I must be doing something stupid, but I don't see what. Any help?
Latest posts made by paulgottlieb
-
RE: Trouble getting started with Pythonista
@dgelessus In your opinion, should I be concentrating on 3.0? Is that going to be the standard going forward?
-
RE: Trouble getting started with Pythonista
Thanks to everyone. that raw_input function did the trick. I think the Beginning Python book I had out of the library was geared to release 3. I'm sure I'll back with more questions. This is a far cry from assembler language programming on the old IBM mainframes!
-
RE: Trouble getting started with Pythonista
@TutorialDoctor That's a good point. As a neophyte I really wasn't conscious of he differences between releases. I'm running 3.51 on the PC
-
Trouble getting started with Pythonista
I'm a retired programmer and I'm new to python. My question is so simple it's embarrassing. I installed python on my desktop and I also installed Pythonista on my iPad. The following simple program works perfectly on the desk top, but not on my iPad:
input_var = ("enter your name: ")
print("Hello! " + input_var)on the PC this works, but in Pythonista on the iPad, when I enter my name, Paul, the print statement fails with "NameError: name 'Paul' is not defined." I must be doing something stupid, but I don't see what. Any help?