Hello,<br><br>I started learning python last year. All of this time i have used the terminal and gedit to create, modify, and test my applications and modules.<br>For some reason I can not do this any more. <br>I'll try to do my best to explain whats happening.<br>
<br>I have a script modtest.py which has a function to test if an int is even or odd.<br><br>Before:<br>desktop:~/bin$ modtest.py<br>desktop:~/bin$ evenodd(45)<br>45 is odd<br><br>Now:<br>desktop:~/bin$ modtest.py<br>
desktop:~/bin$ evenodd(45)<br>bash: syntax error near unexpected token `45'<br><br>The above is just an example. ALL of my scripts that worked before no longer work in the terminal yet they work in the python interpreter.<br>
<br>Does anyone know what the problem might be and how I can fix it?<br><br><br><br><br>