title: How do i import gtk module to my application? python
body: <pre><code>dialog = gtk.FileChooserDialog("Open..",
                             None,
                             gtk.FILE_CHOOSER_ACTION_OPEN,
                             (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
                              gtk.STOCK_OPEN, gtk.RESPONSE_OK))
  dialog.set_default_response(gtk.RESPONSE_OK)
  </code></pre>
  
  <p>I want to use the above code for file browsing- but when I give the following import</p>
  
  <pre><code>import pygtk
  pygtk.require('2.0')
  
  import gtk
  </code></pre>
  
  <p>I get Error: No module named 'pygtk'</p>
  
  <p>Do I need to give pygtk as a module inside my application folder? Do say with steps. Thank you.</p>