-1

-

Introduction Python Python is programming language that opensource. Python object oriented program and can operate with almost all platform like UNIX, Windows, OS/2, or another platform. You can use python for object oriented programming and many application can made from python. It can download python source code from http://www.python.org, and the documentation you can download from http://www.python.org/doc/. It can download in many format which you like. Installing python
   apt-get install python for Debian-based distributions, such as Ubuntu urpmi python for rpm-based ones, such as Fedora or Red Hat series emerge python for Gentoo

Python 3.0 has just been released and i though of giving it a try. Since there are no packages yet for Ubuntu, i decided to give compiling from source a try.
sudo apt-get install python3.0

Step 1: install some dependencies
sudo apt-get install build-essential libncursesw5-dev libreadline5-dev libssl-dev libgdbm-dev libbz2-dev libc6-dev libsqlite3-dev tk-dev

Step 2: download and extract the tarball
wget http://www.python.org/ftp/python/3.0/Python-3.0.tar.bz2 tar jxvf Python-3.0.tar.bz2 cd Python-3.0 ./configure make sudo make install

Step 3: run python3.0 by invoking "python3.0" in the terminal. Windows Intallation It very simple, download python 3.0.1 for windows. Standard installers are provided in the python.org download section, and the wizard to achieve the installation is pretty straightforward Python prompt Python 3.0.1 (r301:69561, Feb 13 2009, 20:04:18) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> 3+7 10 >>> 3*9 27 >>>4-5 -1

Master your semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master your semester with Scribd & The New York Times

Cancel anytime.