Learn Python with me - 1 (Installation)
Python is an interesting programming(rather scripting) language. I have started learning python so that, I would be able to try my luck at some latest web frameworks like django. In this series I will blog about my experiences with python as I learn it.
Start
To start with, python is a interpreted language, so you will need to install the python interpreter, in your machine. Linux/Mac come with python pre-installed, if you have any issues you can manually install it over again. In windows you will need to download and install the python interpreter form the website.
The IDE
If you have Eclipse 3.3, you can install PyDev by pointing eclipse to the following update site http://pydev.sourceforge.net/updates/
Otherwise any text-editor should do the trick
Once you have installed PyDev in your Eclipse, you will need to configure eclipse to the path of the new python interpreter that you had downloaded
The CLI
Python has this unique CLI, where you can type in code and get the results , ones that are similar to the SQL CLIs that we saw in our college days
You can invoke the CLI by running python from the shell prompt
if you are in windows you can find it in
Start -> All Programs-> Python 3.0 -> IDLE (Python GUI)
You will find this interface.
Python 3.0 (r30:67507, Dec 3 2008, 20:14:27) . . . . IDLE 3.0 >>> 12 12 >>> "krishna" 'krishna' >>> greeting = "Welcome to Click Offline" >>> greeting 'Welcome to Click Offline' >>> greeting.lower() 'welcome to click offline' >>>
So you can play around with some simple commands here before getting into actual proggramming environment.


March 7th, 2010 at 4:59 am
Cool Thanks for this blog. I am new at development and this will be a big help.