Saturday, June 15, 2013

Installing Python in Windows

Python is the most rapidly growing language. Hence it is open source and platform independence programming language, so that linux default consist python. But in Windows it's not available. As a result python need to install and configure for developing environment.


Installing:
Step-1: First download Python from its official website http://www.python.org/getit/ then select latest 3.x version depends on your machine(64 bit or 32 bit).

Step-2: Run the installer and accept all the default settings, with “C:\Python27″ directory .

Install process almost complete. Its time to
et the system’s PATH variable to include directories that include Python components and packages we’ll add later. To do this:

  • Right-click on Computer and select Properties.
  • From the dialog box, select Advanced  System Settings.
  • From the next dialog, select Environment Variables.
  • In the User Variables section, edit the PATH statement to include this:
C:\Python27;C:\Python27\Lib\site-packages\;C:\Python27\Scripts\;

Save this configuration and  Restart you Computer.

Open Command Prompt (cmd) Press Windows Key+r from Keyboard or go Start ->run ->cmd
then you will see a black screen that is called cmd. Here you type 'python' and press Enter button from your keyboard . You will see a basic information of install python.

First Programme:
After typing python and press Enter you will see a python interactive shell(-->) then write
print "Hello Python" and press enter and then you will see your first python programme in cmd.
Everything complete your system is now ready for python programming. So enjoy python... 
Share this post
  • Share to Facebook
  • Share to Twitter
  • Share to Google+
  • Share to Stumble Upon
  • Share to Evernote
  • Share to Blogger
  • Share to Email
  • Share to Yahoo Messenger
  • More...

0 comments

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

 
© 2011 Python
Designed by Hizbul Bahar
Posts RSSComments RSS
Back to top