1

What is the difference between Python Tkinter , wxWidgets (or is it called wxPython) and PyQT. Which one is better ?

subanki
  • 1,411
  • 10
  • 25
  • 48
  • 2
    This is a rather subjective question... – Amber Jan 09 '11 at 07:21
  • Specifically, the second question is subjective. The first one is way too broad (they do a lot of things different, what do you want to know?). –  Jan 09 '11 at 07:22
  • 1
    possible duplicate of [What Python GUI APIs Are Out There?](http://stackoverflow.com/questions/93930/what-python-gui-apis-are-out-there) – Greg Hewgill Jan 09 '11 at 07:24
  • I just want to know , as a beginner Which one is best suited and also which one is used widely – subanki Jan 09 '11 at 07:25
  • 1
    Field report: __Python - Best GUI library for the job?__ (http://stackoverflow.com/questions/3743572/python-best-gui-library-for-the-job). I do not know if there is a market share statistics for (open source) Python GUI frameworks but search SO -- many questions like yours here: __Python GUI Programming__ (http://stackoverflow.com/questions/280380/python-gui-programming) – Raphael Bossek Jan 09 '11 at 07:30
  • 1
    @subanki: You're still being very vague. They are all used widely. "Best suited" is not an absolute term -- for it to make sense, you need to tell us what you want the framework to be best suited **for/to**. – mpenkov Jan 09 '11 at 07:31
  • if i use wxPython can I compile it to exe later – subanki Jan 09 '11 at 07:36
  • About EXE read __py2exe - generate single executable file__ (http://stackoverflow.com/questions/112698/py2exe-generate-single-executable-file), __Look of the app - Py2exe / wxPython__ (http://stackoverflow.com/questions/2725516/look-of-the-app-py2exe-wxpython) – Raphael Bossek Jan 09 '11 at 07:41

1 Answers1

1

This really depends on what you're planning to do with them. Are you writing a GUI "hello world", or planning to do something more serious? Is it for commercial or non-commercial use?

Here's a comparison of WxWidgets against other platforms. That can get you started on the major points of difference. If you want a more specific answer, then please ask a more specific question.

mpenkov
  • 21,621
  • 10
  • 84
  • 126
  • i want to make commercial softwares – subanki Jan 09 '11 at 07:28
  • In that case, PyQT is likely to be a non-option, unless you're willing to pay their licensing fees. The other options you mentioned are still available and widely used. – mpenkov Jan 09 '11 at 07:30
  • *As a beginner* who intent to make commercial software with Python read this first __How do I protect python code?__ (http://stackoverflow.com/questions/261638/how-do-i-protect-python-code) and __Python: Compiling Script Safely?__ (http://stackoverflow.com/questions/4599166/python-compiling-script-safely/4599379) – Raphael Bossek Jan 09 '11 at 07:36
  • There are LGPL bindings available for Qt (Pyside). You are correct that PyQt is dual-licensed (GPL *or* commercial - the latter which induces a fee). – ChristopheD Jan 09 '11 at 09:00