Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- import pygtk
- pygtk.require('2.0')
- import gtk
- class Dasar:
- def __init__(self):
- self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
- self.window.show()
- def main(self):
- gtk.main()
- print __name__
- if __name__ == "__main__":
- dasar = Dasar()
- dasar.main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement