Python tools

Hi guys, just want to dive into python programming. What are the tools I'll need?

Aceix.
A text editor, and a python interpreter.
Thanks, can I create GUI apps in python? And is python cross-platform?

Aceix.
Thanks, can I create GUI apps in python?


Yes. With the right library, you can make anything in Python.

And is python cross-platform?


It's an interpreted language -- so any Python program will work on any platform which has a Python interpreter.

So yes. It is cross-platform.
Any recommended editor with autocomplete and syntax highlighting feature?

Aceix.
If you can lay your hands on a Windows box:
Visual Studio (the free Express edition would suffice) + PTVS: http://pytools.codeplex.com/
(It supports cross-platform remote debugging)
Heard Eclipse can support python with some 3rd party add-on.

Aceix.
PyCharm (IntelliJ based) http://www.jetbrains.com/pycharm/index.html
is said to be better than either Eclipse or NetBeans with Python plug-ins.
Ok. So what are Jython and Iron python, and how different are they from python?

Aceix.
Jython runs on the JVM, Iron Python runs on the .Net CLR.

Jython exposes the JDK via JVM, Iron Python exposes the .Net framework via CLR.

CPython is probably faster for single-threaded applications but Jython and Iron Python will scale better on multicore because CPython only allows one Python thread to run at a time.
Last edited on
I just want to point out here that after numerous you tube indulges that there seems to be a fundamental problem with python and multi-threading. The mutex lock algorithm does not give you a performance increase when you wish to compute complex algorithms, but instead is mostly there for managing multiple resources (say a NIC). Also I'd suggest checking out Ipython and/or setting up an Ipython server if you're using it for any kind of explanation with python and i find it fun to try stuff out on my phone using the server at my house when inspiration hits.
Thank you all!
Now can I get any good python tutorial?

Aceix.
Throw the IDE away for now, and start here (2.7): https://docs.python.org/2/tutorial/
As far as IDLE can be considered an IDE, it's worth using.
On the topic of Iron Python, has anyone here successfully used it to make a WinRT app? I'm considering making a metro wrapper for google play music (a work around for not being able to have metro mode chrome open on two monitors) and I felt like using python to do it.
@JLBorges why study 2.7, when there is a later version(3.4)?

Aceix.
> why study 2.7, when there is a later version(3.4)?

You evinced an interest in Jython and Iron python; they don't have Python 3.

2 or 3: https://wiki.python.org/moin/Python2orPython3

The same tutorial, for Python 3.4 : https://docs.python.org/3/tutorial/index.html
@Cheraphy
I haven't really used Iron Python much but I believe it exposes the full .Net framework so it seems logical that it would be possible to use WinRT.
Last edited on
Thank you all.

Aceix.
Topic archived. No new replies allowed.