Author Topic: How to building GUI based applications in Python?  (Read 1673 times)

0 Members and 1 Guest are viewing this topic.

Offline fox12345

  • Serf
  • *
  • Posts: 25
  • Cookies: -31
    • View Profile
How to building GUI based applications in Python?
« on: September 16, 2013, 04:31:46 pm »
Hi dear friends,
I want to Setting up a Python GUI environment. But I can not do it. I installed  Python 3.3.2 to my windows 8(x64) yes it is working well. as well as i want to build GUI application with python. So how to do it?



now i am really tired with Google.
I'm not a very good English writer :
please help me.....


What I'm looking for :- step by step guide to install python GUI tool kit.....

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: How to building GUI based applications in Python?
« Reply #1 on: September 16, 2013, 04:49:54 pm »
To build GUI applications, you need to learn Python + the GUI framework you will use. There are numerous of choices, the whole list is here: https://wiki.python.org/moin/GuiProgramming
I'd suggest Qt for pretty stuff or Tkinter for quick and ugly stuff.

Also I'd recommend learning English first. I expect you to understand what I just said and search yourself. Because if you did search and really didn't find anything, then you did a really shitty job at it.

Try this link btw: http://bit.ly/1aNGajA

Offline Ragehottie

  • Knight
  • **
  • Posts: 313
  • Cookies: -9
  • Hack to learn, not learn to hack.
    • View Profile
Re: How to building GUI based applications in Python?
« Reply #2 on: September 17, 2013, 03:57:16 am »
I'd go with tkinter for just starting. Its really easy to build and you can make it look eeeeehhhhhh so its not that bad. Just make sure to use the grid() and not pack it. packing is shit and hard to get to look nice
Blog: rexmckinnon.tumblr.com

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: How to building GUI based applications in Python?
« Reply #3 on: September 17, 2013, 04:33:21 am »
If you want drag and drop like VisualBasic and the like, there is PythonCard.

You will still need to know how to code to work with it though.
>>>import this
-----------------------------

Offline geXXos

  • Royal Highness
  • ****
  • Posts: 646
  • Cookies: 178
    • View Profile
Re: How to building GUI based applications in Python?
« Reply #4 on: September 17, 2013, 12:59:57 pm »
As Kulverstukas said is better to learn first how Python works, and then make the step to GUI development, especially if you going to play with wxpython, i'm not en expert when it comes to Python or even GUI dev, but i don't recommend tkinter.


I my self work with Python 2.7 and the last month i play with PyQt4, there is the Qt-Designer in which you make a graphical user interface (GUI) from Qt components, in a what-you-see-is-what-you-get (WYSIWYG) manner.


With Qt-Designer you save your mygui.ui (the output is an XML file)  you convert it to python and then you load it to your python script.


This book is very good:
http://evilzone.org/ebooks/rapid-gui-development-with-qt-and-python/msg63787/#msg63787


You can download PyQt from here:
http://www.riverbankcomputing.co.uk/news (with python 3x you will need PyQt5)


And the Qt-Designer from here:
http://qt-project.org/downloads (with python 3x you will need Des-Qt 5x)


Check these links too:
http://zetcode.com/tutorials/pyqt4/
http://popdevelop.com/2010/04/setting-up-ide-and-creating-a-cross-platform-qt-python-gui-application/
http://www.cs.usfca.edu/~afedosov/qttut/


I don't know if this is a safe advice for you but, if you just installed python 3x in your windows, then uninstall it and use python 2.7.5, you will have better time, and in the long.. future you make your move to 3x.


                                 

Offline fox12345

  • Serf
  • *
  • Posts: 25
  • Cookies: -31
    • View Profile
Re: How to building GUI based applications in Python?
« Reply #5 on: September 23, 2013, 11:08:50 am »
Thank you for all replies, they're all really perfect and I appreciate your time you have put into it. :-*

Offline harvey

  • /dev/null
  • *
  • Posts: 8
  • Cookies: -3
    • View Profile
Re: How to building GUI based applications in Python?
« Reply #6 on: September 28, 2013, 11:53:54 am »
TKinter is what you should start off with for building GUI's, then move on to WX or something more advanced.