I'm trying to figure out how to select and run a python file through the ubuntu windows system. I've never run scripts in my life and I'm very new to this.. So I went to youtube cause I felt like this shouldn't have been hard but...
Using the script (and instructions) described here: Create, Save and Run Python Program via Ubuntu Terminal
print"hello world" vary = raw_input("Enter your Name") print ("hey" + vary)
I tried to open the the file by double clicking it (again and again)... and it failed, would not ask for my input, just opened the terminal and disappeared (closed the shell) and that's all.. but IDLE was able to run it perfectly so I know it's not the script. When I used VIM to create it as a file and run it from there, I got this output:
Traceback (most recent call last): File "shiite/livescript/rev.py", line 2, in <module> vary = input("Enter your Name Bitch: ") File "<string>", line 1, in <module> NameError: name 'Dave' is not defined
One more thing, I've also tried selecting the properties of the file with right click and checked the box that let's it execute.. still nothing..
Anyone know why the Ubuntu terminal won't run python programs??? Maybe there's a terminal that will run something like this???