jemoh_ | Am new to pygtk and am trying to learn it and everytime I write code using vim and try to execute it this is what I get: jemoh@Hiuhu:~$ ./window.py bash: ./window.py: /usr/bin/env/python: bad interpreter: Not a directory what could be the problem ? | 15:19 |
---|---|---|
gnufs | it should be "/usr/bin/env python", not "/usr/bin/env/python" at the beginning of your script | 15:38 |
jemoh_ | I have tried it and this is what I get: | 15:57 |
jemoh_ | jemoh@Hiuhu:~$ ./window.py File "./window.py", line 19 if __name__ == "__main__" ^ SyntaxError: invalid syntax | 15:57 |
jemoh_ | The code am trying to run is: | 15:57 |
jemoh_ | http://pastebin.com/WpynceXk | 15:58 |
tsimpson | jemoh_: you're missing the : at the end of the line | 16:01 |
jemoh_ | ok thanx alot it worked | 16:03 |
=== ajmitch_ is now known as ajmitch |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!