Python modules integrating into Windows

Different Python modules not connecting

Page 1 of 1

7 Replies - 2036 Views - Last Post: 05 October 2010 - 08:17 AM Rate Topic: -----

#1 tnbrewer83  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 11
  • Joined: 04-October 10

Python modules integrating into Windows

Posted 05 October 2010 - 07:01 AM

Ok, so I am new to this site and I love it. I am trying to learn my first programming language and doing well with Python. I like the simplicity of it and when I get comfortable with it I will move up to C++. I have made plenty of basic programs with Python but now I have run into a snag.

Tkinter is nice and all, but I want to use the GTK+ module for the UI. I have read the directions for integrating GTK+ with Windows, but when I try to import it (using the interactive Python shell or just a plain script), it tells me that it cannot locate the GTK+. I must be missing something, but I have no idea. Can someone help me to make sure I have completed all the steps to integrate it in Windows XP?

Is This A Good Question/Topic? 0
  • +

Replies To: Python modules integrating into Windows

#2 baavgai  Icon User is online

  • Dreaming Coder
  • member icon

Reputation: 5932
  • View blog
  • Posts: 12,855
  • Joined: 16-October 07

Re: Python modules integrating into Windows

Posted 05 October 2010 - 07:19 AM

You'll need to install GTK+ libraries. You can find them here: http://www.gtk.org/d...ad-windows.html
Was This Post Helpful? 0
  • +
  • -

#3 Brewer  Icon User is offline

  • Awesome
  • member icon

Reputation: 179
  • View blog
  • Posts: 1,044
  • Joined: 14-June 10

Re: Python modules integrating into Windows

Posted 05 October 2010 - 07:24 AM

I know you say you want to use GTK+, but if you wanted to try something different, Tkinter is always an option.
Was This Post Helpful? 0
  • +
  • -

#4 tnbrewer83  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 11
  • Joined: 04-October 10

Re: Python modules integrating into Windows

Posted 05 October 2010 - 07:51 AM

View Postbaavgai, on 05 October 2010 - 06:19 AM, said:

You'll need to install GTK+ libraries. You can find them here: http://www.gtk.org/d...ad-windows.html


I understand all that, and I have downloaded them all. What I don't know is what I need to do next with them.
Was This Post Helpful? 0
  • +
  • -

#5 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6107
  • View blog
  • Posts: 23,662
  • Joined: 23-August 08

Re: Python modules integrating into Windows

Posted 05 October 2010 - 07:56 AM

http://www.pygtk.org/tutorial.html
Was This Post Helpful? 0
  • +
  • -

#6 Brewer  Icon User is offline

  • Awesome
  • member icon

Reputation: 179
  • View blog
  • Posts: 1,044
  • Joined: 14-June 10

Re: Python modules integrating into Windows

Posted 05 October 2010 - 07:59 AM

If you don't mind hopping on an IRC channel then try this: PyGTK.

Scroll down to where it says IRC Channel and follow the instructions. I am sure someone in there will be able to help you.
Was This Post Helpful? 0
  • +
  • -

#7 tnbrewer83  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 11
  • Joined: 04-October 10

Re: Python modules integrating into Windows

Posted 05 October 2010 - 08:11 AM

Thanks all! I will try this out.

Also, when I get time, I will get on the IRC channel for it. Thanks again.
Was This Post Helpful? 0
  • +
  • -

#8 Brewer  Icon User is offline

  • Awesome
  • member icon

Reputation: 179
  • View blog
  • Posts: 1,044
  • Joined: 14-June 10

Re: Python modules integrating into Windows

Posted 05 October 2010 - 08:17 AM

No worries, hope everything works out for you! Feel free to come ask any other questions you have.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1