Reputation:
I would like to start learning Python (zero past experience). I am a bit inclined to start with Python 3.0. However, I am not sure if at this time there exists a GUI editor that would be compatible with Python 3.0. I've tried installing Glade, but the one I've got works only with Python 2.5. What could I possibly use with Python 3.0? Any suggestions are welcomed. Thanks!
Upvotes: 2
Views: 1843
Reputation: 31858
PyQt 4.5 (released a couple of days ago) added support for Python 3
That doesn't of course devaluate gotgenes answer: most of the 3rd party libraries are just not ready yet for Python 3.
Upvotes: 0
Reputation: 8527
If your looking for a GUI editor, have a look at these:
.XRC files are xml file which describes your GUI and are not language specific. You could load these files from a Python 2.6 and a Python 3.0 without any change.
WxPython is currently available only for Python 2.6 though. I would not worry too much about converting a python 2.6 to 3.0. This is the matter of a few lines to change.
The problem with the .XRC approach is that you still need to glue these xml files with Python code. If you're a beginner this might be as tricky as writing the GUI by hand. That's the problem with WxPython anyway: I don't know any real good editor for it, have a look at this discussion
Upvotes: 1
Reputation: 42193
The only GUI toolkit currently available in Python3.0 is Tkinter, and I don't think there are any Python3.0 GUI-builders available yet.
Upvotes: 0
Reputation: 40039
There are many useful libraries (not to mention educational material, cookbook snippets, etc.) that have yet to be ported to Python 3.0, so I recommend using Python 2.x for now (where, currently, 5 <= x <= 6). Doubly so if you're a beginner to Python. Triply so if you're actually planning on releasing some software--many systems do not ship with Python 3.0.
Python 3.0 is not radically different from the Python 2.x series; what you learn in Python 2 will very much still apply to Python 3. Searching Python 3.0 here on SO reveals many threads in which the majority declare that they're not moving to Python 3.0 anytime soon.
Upvotes: 1
Reputation: 27478
Just use whichever editor you are most comfortable with.
The "leading space as logic" and duck typing mean that there is a limited amount of syntax checking and re-factoring an editor can reasonably do (or is required!) with python source.
If you dont have a favorite editor then just use the "idle" editor which comes with most python distributions.
If you were talking about a GUI design tool then you need to choose among the several supported GUIs (Tk, WxWindows etc. etc.) before you choose your design tool.
Upvotes: 0