1.11M Members

Most Popular Editor?

 
0
 

Which is the most popular editor on these forums, please? Especially so, an editor that takes Python to the maximum of what it is capable of achieving. I'm hoping that I won't need such-and-such an editor to do this, and such-and-such an editor to do that... An all-in-one if possible. (even if I have to buy it)

Is it possible to learn Python 3+ and ignore Python 2+, please? Or, should I stick with Python 2+ until 3+ can walk and talk?

Thanks for any advice. :)

 
0
 

i believe dreamweaver and coda 2 would work... but i am not sure on their capabilities on Python.

 
2
 

This is a difficult thing to really give any advice on, as everyone has a different 'feel' for their favorite tools. I can only tell you my own impressions, and hope yours may be similar.

Of the handful of Python editors and IDEs I have tried, the best I personally have found are Eric, and the PyDev extensions for Eclipse. Both have the advantage of working with either Python 2.x or 3.x if you have both installed at the same time.

However, I have not tried the any of the commercial IDEs to date (such as WingWare or PyCharm), and cannot give any advice on them.

The question of the version of Python to use is mostly a pragmatic one, in that many 3rd party libraries for Python have not yet been updated to work with Python 3. I would recommend learning Python 3, unless you had reason to use a major Python 2.x package such as Django.

 
0
 

I don't like bloated IDEs like Eclipse. Even Eric (written in Python and PyQT) is rather large and sometimes sluggish.

The small IDLE IDE that comes with Python is remarkably elegant for its size.
On my Windows machine I use PyScripter (an exe written in Delphi).

 
0
 

That's good advice, thank you.

I'm going to start out with Eric 5, which I've just downloaded. On the Eric page there are four further downloads that apparently are needed. One of them is called Qt, and it seems you have to pay for it. Is it okay to go-ahead with Eric without Qt while I'm just getting the feel of this IDE? I suppose I'm asking if it's an essential install?

 
1
 

Actually, there is a free version of Qt available from the Qt Project site; the commercial version is only if you are intending to write commercial software using the Qt libraries, IIUC. The opern source version does lag behind the commercial version by a few revisions, but the differences are not usually that significant.

 
0
 

Actually, there is a free version of Qt available

That is very helpful, thank you. I can't begin to imagine how many times you have probably answered this question. So, thanks for your patience too

 
0
 

I'm using Ulipad 4.1, a nice tool written in wxPython.

 
0
 

The Editra IDE is also written in wxPython and is free. It has problems with handling input() and seems to have a few other quirks with Python33.

See:
http://editra.org/

 
0
 

The free SharpDevelop IDE is also nice and offers MS Studio capabilities. It needs the Windows OS and .NET Framework. It can be used for a number of languages like Python, IronPython, C# and C++. It seems to create Windows .exe files with Python code (uses IronPython?).

See:
http://www.icsharpcode.net/OpenSource/SD/

 
0
 

wxPython is only for Python 2x is it?

How old is Python 3x? Do you think it is going to take a vast amount of time to be accepted? Is it a similar situation to that of XP and Vista? People stuck with XP because it was lean and clean, and didn't want to change to Vista because it was slow and clumsy? Is that the kind of issue between Python 2x and Python 3x?

 
1
 

HiHe ...
The SharpDevelop IDE uses IronPython to produce executable files.
Here is a test ...

'''
code executed on SharpDevlop 4.2 IDE
Python console solution

used:
IronPython-2.7.3.msi
from:
http://ironpython.net/download/ 
and:
SharpDevelop_4.2.2.8818_Setup.msi
from:
http://www.icsharpcode.net/OpenSource/SD/Download/#SharpDevelop4x

the IDE was installed after the IronPython27 installation
the 'Run compiled exe' produced 2 files in folder
C:\SharpDevelop\sd_projects\py_version\py_version\bin\Debug
py_version.exe
py_version.dll

'''

import sys

print("Python version:\n %s\n" % sys.version)

# wait
raw_input("Press Enter to go on ...")

'''
Python version:
 2.7.3 (IronPython 2.7.3 (2.7.0.40) on .NET 4.0.30319.296 (32-bit))

Press Enter to go on ...

'''

See also:
http://www.daniweb.com/software-development/python/threads/191210/python-gui-programming/11#post1888503

 
3
 

People stuck with XP because it was lean and clean, and didn't want to change to Vista because it was slow and clumsy? Is that the kind of issue between Python 2x and Python 3x?

No it's not exactly that kind of issue. Python 3 is actually cleaner than python 2. Only many libraries were written for python 2 and people are slow porting them to python 3.

You can have more than one install of python on your computer. If your editor needs python 2 to run, you can still write python 3 code with it !

 
3
 

BigPaw ...

wxPython is slowly ported to Python3 and is also modernized which takes time, the project is called 'Phoenix'. Look at this example:
http://www.daniweb.com/software-development/python/threads/191210/python-gui-programming/11#post1892083

Going from XP to Vista was a step back!

Going from Python2 to Python3 is a step foreward, much has been streamlined and modernized. For the time being using Python 2.7.3 will make your life easier, since you can use much of the older code samples without change. Python3 handles foreign characters better. There are some syntax changes, but the difference between strings and byte-strings will bite you the most.

 
0
 

the difference between strings and byte-strings will bite you the most.

I also recommend python 2.7.3, with

from __future__ import unicode_literals, print_function, division

at the top of every program and module.

 
0
 

I use wingware IDE. Worth the money.

 
0
 

Looks like the Python3 series is rapidly progressing. The release schedule for Python34 has already been announced.

Might be best to stick with Python27 until Python37 comes out. I like the Python3 new features, so I am using it. Sometimes it's a pain converting old code.

If you have a Windows machine, you can also use the PythonWin IDE that comes with the installation of the Python for Windows extensions from:
http://sourceforge.net/projects/pywin32/files/pywin32/
(Comes in versions from Python27 to Python34)

You can find Pythonwin.exe in folder C:\Python33\Lib\site-packages\pythonwin
(depending on your version of Python)
Looks like the IDE is written in C++ and Python.

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article