Please note: This wiki is currently running in test mode after an attack on January 5 2013. All passwords were reset, so you will have to use the password recovery function to get a new password. To edit wiki pages, please log in first. See the wiki attack description page for more details. If you find problems, please report them to the pydotorg-www mailing list.

Asking for Help: ...

Im a begginer in python and pydev. I recently made the "helloworld" program in Pydev. My question is: how do i execute it or open it from the interactive python mode (in the linux terminal) I tried many cmd's , like ./hello.py, import hello.py, python hello.py, but the only thing i got was SyntaxError: invalid syntax, or some other error. also, i have another question. When do we use chmod +x? every time i write it in pydev, i get a X in the left , that means its incorrect. Something like this: X chmod +x.

When answering questions, add the CategoryAskingForHelpAnswered category when saving the page. This will move the link to this page from the questions section to the answers section on the Asking for Help page.


CategoryAskingForHelp

Asking for Help/Python,Pydev and the terminal in linux. (last edited 2011-10-26 15:02:18 by cpe-186-18-203-64)