Are there any IDE's that support Python 3 syntax?
I recently saw an announcement and article outlining the release of the first Python 3.0 release candidate. I was wondering whether there were any commercial, free, open source etc. IDE's that support its syntax.
Asked by: Agata475 | Posted: 28-01-2022
Answer 1
Python 3 is just not that different from Python 2.x. In terms of syntax per se, things that will actually need to be handled differently by the parser, the only major change is in the replacement of the print
statement with the print
function.
Most of the features of Python can be easily probed via introspection (online help, method completion, function signatures, etc.), so there's no reason why any Python IDE will require major changes to work with Python 3.0. I expect IDLE and SPE and the other open-source IDEs will be support it before the final release.
Answered by: Ada443 | Posted: 01-03-2022Answer 2
Komodo 5 beta 1 was released in October 2008 and has initial support for Python 3 but I don't think I'd be using it for production code yet.
Given that Python 3 is still a very early release candidate, you may have some trouble finding mature support in IDEs.
Answered by: Lucas836 | Posted: 01-03-2022Answer 3
PyDev for Eclipse does support 3.0. You can configure multiple interpreters in the plug-in settings.
In the project properties you can set:
- Project type (Python, Jython, IronPython)
- Grammar version (2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 3.0).
(PyDev version at time of writing: 1.4.7.)
Answered by: Chelsea704 | Posted: 01-03-2022Answer 4
Can get PyDev. from http://pydev.sourceforge.net. Its a plugin for Eclipse and is more than handy. Not to mention benefits of the old and trusted Eclipse.
Answered by: Blake844 | Posted: 01-03-2022Answer 5
Emacs + python.el continues to be better than anything else I've tried.
Answered by: Madaline867 | Posted: 01-03-2022Answer 6
Pyscripter is the PERFECT Python IDE on windows; it's compatible even with the newly released Python 3.1.
Answered by: Audrey313 | Posted: 01-03-2022Answer 7
Geany works with python 3 if you install it and then:
sudo gedit /usr/share/geany/filetypes.python
change the last 2 lines with:
compiler=python3 -c "import py_compile; py_compile.compile('%f')"
run_cmd=python3 "%f"
Answered by: Chelsea648 | Posted: 01-03-2022Answer 8
I can say that at the time of posting this (Apr. 28 2009, version 0.8.4h) that SPE does not correctly handle some python3 syntax - specifically exception handling. For example, the follow code is flagged as an error (and irritatingly, is jumped to whenever the file is saved):
except urllib.error.URLError as e:
if hasattr(e, 'reason'):
#...
Answered by: Edgar716 | Posted: 01-03-2022
Similar questions
python - What is meant by 2D array support?
I read that Python does not actually support 2D arrays but rather an array of an array. I understand the array of an array thing but what does it mean by supporting 2D arrays?
In C a 2D array is simply converted to a 1D array by doing some fancy math (Seen here). Are there languages that implement a...
python - how to create read only text ctrl but support copy paste event
In my application i have text control.
I want my text ctrl should be read only but when some one right click on this he is able to copy the value from that ctrl and he can paste that value in other text control.
If i made my text control read only with wx.TE_READONLY then copy/paste is not working.
Is there any requirement to handle other type of wx event or i have to set more type of wx style flags while c...
python - PySide or PyQT SQLite support in Ubuntu
I am running Ubuntu 10.04 Lucid and am developing a application in QT using Python. Today I tried to create a database binding to a SQLite database via QtSQL.QAddDatabase and got the following error:
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
So obviously I don't have the SQLite driver...how can I add it to my install? I installed PySide to see ...
Does python support fixed size LIFO?
I want a data structure, fixed size LIFO, last in first out. Is it already there?
Edit: Sorry, what I want is LIFO not FIFO.
I checked http://docs.python.org/library/queue.html, it already provides the LIFO, the only thing I want to achieve is automatically drop the oldest one.
Eg) LIFO size 5 with elements: 1 2 3 4 5
Aft...
Good Web hosts that support Ruby and Python?
Closed. This question is off-topic. It is not curre...
crash - python PIL YCbCr support
Trying to create an PIL image in YCbCr mode crashes even a fresh python/PIL installation from synaptic in my ubuntu 11.04
wim@wim-ubuntu:~$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
>>> Image.VERSION
'1.1.7'
>>> Image.new('YCbCr', (640,480))
*** buffer ove...
python - Django vs Grails vs Lift for Comet support?
python - Django model layer for HBase support
I am looking for HBase backend support for Django.
Does anyone know if something like that exists?
Vim python support with non system python
I am trying to build vim with python support, but using a custom-built python somewhere in my $HOME directory (say $HOME/python2.6). Unfortunately, even giving --with-python-config-dir=$HOME/python2.6/lib/python2.6/config does not prevent vim configure to look into the python in /usr. Is there a way around that that does not involve hand editing makefiles ?
Python support to code text according to DTD
I have a DTD and I have a text where I can identify different structures. I need to code the text accoding to the DTD structure (elements/attributes). I wonder if there is some robust support in Python 2.6 to facilitate this task. Any suggestions about how to tackle the problem?
For Python support, what company would be best to get hosting from?
I want to be able to run WSGI apps but my current hosting restricts it. Does anybody know a company that can accommodate my requirements?
Looking for online Judge Engine that support Python
python - What is meant by 2D array support?
I read that Python does not actually support 2D arrays but rather an array of an array. I understand the array of an array thing but what does it mean by supporting 2D arrays?
In C a 2D array is simply converted to a 1D array by doing some fancy math (Seen here). Are there languages that implement a...
python - pyqt jpeg support not working in bundled form
To enable jpeg support in a PyQT application, you have to manually include the qjpeg4.dll.
It works fine when the dll and pyd file are not bundled together in the final exe. For example
with py2exe you can do the following :
DATA=[('imageformats',['C:\\Python26/Lib/site-packages/PyQt4/plugins/imageformats/qjpeg4.dll'])]
setup(console=[{"script":"cycotic.py"}],
data_files = DATA,
op...
When will Jython support Python 3?
According to Jython's documentation:
Jython is an implementation of the
Python language for the Java platform.
Jython 2.5 implements the same
language as CPython 2.5, and nearly
all of the Core Python standard
library modules. (CPython is the C
implementation of the Python...
oop - Does Python support something like literal objects?
In Scala I could define an abstract class and implement it with an object:
abstrac class Base {
def doSomething(x: Int): Int
}
object MySingletonAndLiteralObject extends Base {
override def doSomething(x: Int) = x*x
}
My concrete example in Python:
class Book(Resource):
path = "/book/{id}"
def get(request):
return aBook
Inheritan...
python - how to create read only text ctrl but support copy paste event
In my application i have text control.
I want my text ctrl should be read only but when some one right click on this he is able to copy the value from that ctrl and he can paste that value in other text control.
If i made my text control read only with wx.TE_READONLY then copy/paste is not working.
Is there any requirement to handle other type of wx event or i have to set more type of wx style flags while c...
python - PySide or PyQT SQLite support in Ubuntu
I am running Ubuntu 10.04 Lucid and am developing a application in QT using Python. Today I tried to create a database binding to a SQLite database via QtSQL.QAddDatabase and got the following error:
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
So obviously I don't have the SQLite driver...how can I add it to my install? I installed PySide to see ...
python - support .send() for a class?
Writing a class, how do I implement
foo.send(item) ?
__iter__ allows iterating over the class like a generator, what if I want it to be a coroutine?
Does python support fixed size LIFO?
I want a data structure, fixed size LIFO, last in first out. Is it already there?
Edit: Sorry, what I want is LIFO not FIFO.
I checked http://docs.python.org/library/queue.html, it already provides the LIFO, the only thing I want to achieve is automatically drop the oldest one.
Eg) LIFO size 5 with elements: 1 2 3 4 5
Aft...
Still can't find your answer? Check out these communities...
PySlackers | Full Stack Python | NHS Python | Pythonist Cafe | Hacker Earth | Discord Python