Python learning environment

Question:

I’m looking to get up to speed on Python:

Is it worth working locally via the ActivePython interface, then progressing to a website that supports one of the standard frameworks (Django or Pylons) OR utilize the Google Apps environment?

I want to stay as interactive as possible – making feedback/learning easier.

Asked By: meade

||

Answers:

Not sure what you mean.

For development

First choice: idle — you already have it.

Second choice: Komodo Edit — very easy to use, but not as directly interactive as idle.

For deploying applications, that depends on your application. If you’re building desktop applications or web applications, you still use similar tools. I prefer using Komodo Edit for big things (either desktop or web) because it’s a nice IDE.

What are you asking about? Development tools or final deployment of a finished product?

Answered By: S.Lott

I would just start locally. Django and Pylons add another layer of complexity to the edit/feedback loop.

Unless your primary focus is to make python websites, just stick with an editor and the console.

Answered By: Unknown

Go with the Python interpreter. Take one of the tutorials that many people on SO recommend and you’re on your way. Once you’re comfortable with the language, have a look at a framework like Django, but not sooner.

Answered By: Stephan202

I learned using the docs and IDLE (with shell). Go to Django well after you fully understand Python.

Answered By: geowa4

ipython and your favorite text editor. spend an hour with these screencasts and you’ll be comfy with it in no time.

http://showmedo.com/videotutorials/series?name=CnluURUTV

Answered By: Tom Willis

Assuming you need both – an IDE (= Integrated Development Environment) for hands-on experience and then also learning material (tutorials with learning chapters and examples) – here’s what I recommend based my own experience:

1. Python IDE’s

PyCharm from JetBrains has a nice all in one IDE and it welcomes you with a very good tutorial regarding the usage of the IDE (code completion, IntelliSense etc) based on simple Python examples when you installed it and run it for the first time.

It is interactive, because it explains each step for each topic and lets you try it. Then it checks if you have done it right and gives hints if not.

There is a Community Edition (free) available for download or you can buy the Professional version or have it via subscription.


Visual Studio from Microsoft has also Python integration.

You can choose between a Community Edition (free), or you buy Professional or Enterprise. You can also have an MSDN subscription, then you can always download the latest versions with no extra costs.

There are some template projects available (web projects, Django etc), but starting with it is not so easy as it is with PyCharm, since in Visual Studio there is no interactive tutorial for first use available.


The standard IDE coming with Python is of course IDLE, its latest version can be downloaded here.

However, if you just need an editor supporting Python Syntax, then look for NotePad++ or Visual Studio Code. All of them are free. For quick experiments with Python, there is also pythonfiddle.com or pythontutor.com available.
With pythontutor you can even visualize the execution graphically.

All of these apps / tools mentioned are free.



2. Python Tutorials

Then for the Python language and Django you can visit the following websites to start:

Note that usually those learning sites have lots of examples you can directly try out with the IDE’s mentioned above.

I am sure there is a lot more out there, but the learning sites mentioned above are free.

Answered By: Matt
Categories: questions Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.