Sign in to follow this  
biggjoee5790

which python program?

Recommended Posts

Hi everyone, I was wondering which form of Python is best? The version on Pythons website, or ActivePython? Also are there any really good books for an absolute beginner wanting to learn Python as a first language?

Share this post


Link to post
Share on other sites
I'd recommend just grabbing the latest version from python.org. I'm not too sure what this ActivePython is, looks like Python + some tools/libraries. As for learning Python, it's a pretty easy language to pick up. Run through the tutorials in the official documentation, it's pretty good.

You can also take a look at Dive into Python (available for free online). It was written with a bit older version of Python though.

Share this post


Link to post
Share on other sites
I use IDLE.

Ive never used ActivePython, but I would go with the version on Pythons site.

I used this tutorial to start: http://en.wikibooks.org/wiki/Non-Programmer's_Tutorial_for_Python
Its a really nifty tutorial, very descriptive, easy to follow for people who dont program.

Quote:
The >>> is Python's way of telling you that you are in interactive mode. In interactive mode what you type is immediately run. Try typing 1+1 in. Python will respond with 2. Interactive mode allows you to test out and see what Python will do. If you ever feel you need to play with new Python statements go into interactive mode and try them out.

- Non-Programmers Tutorial Excerpt

To actual start a program, save it, etc, you need to go to File-> New Window

Hope I could help!

Share this post


Link to post
Share on other sites
ActivePython bundles Pythonwin, which is very useful. It's like IDLE, but it also supports graphical debugging. One thing to watch out for is that Pythonwin is, itself, written in Python, and if you're debugging a program which crashes, it will take down the IDE (because, apparently, the debug target is run in an interpreter spawned off the same interpreter running the IDE, or something).

Share this post


Link to post
Share on other sites
I don't hardly any python, but I do "use" it ... running python programs and occasionally tweaking them or their config. And I like the Active? versions a lot. I use ActivePerl and ActivePython. All they are is bundles of things commonly desired on Windows. Including the interpreter package, extra libraries pre-included (and often windows oriented ones), text-editors, IDEs and / or debuggers when decent small ones exist. And often support for auto-configuring Apache and/or IIS to be able to use them. So if you write web-apps too they are great.

For ruby I use the windows one-click installer which is just like the ActiveState distros, langauge, libraries, editor, etc.

I run my scripts on the command line, but I use the included editors / IDEs to edit them.

There is no real downside to getting the bundles, they don't do anything "special" you can install further libraries EXACTLY like the raw distrobutions - they have just done some for you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this