[15:19] <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:38] <gnufs> it should be "/usr/bin/env python", not "/usr/bin/env/python" at the beginning of your script
[15:57] <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:58] <jemoh_> http://pastebin.com/WpynceXk
[16:01] <tsimpson> jemoh_: you're missing the : at the end of the line
[16:03] <jemoh_> ok thanx alot it worked