/srv/irclogs.ubuntu.com/2012/04/03/#ubuntu-app-devel.txt

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
gnufsit should be "/usr/bin/env python", not "/usr/bin/env/python" at the beginning of your script15: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 syntax15:57
jemoh_The code am trying to run is:15:57
jemoh_http://pastebin.com/WpynceXk15:58
tsimpsonjemoh_: you're missing the : at the end of the line16:01
jemoh_ok thanx alot it worked16:03
=== ajmitch_ is now known as ajmitch

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!