Install and code Python In your Machine

July 24, 2010 at 4:01 pm (Python)

For Windows users, you can download and install Python from here.

And for Linux Users. Python Is default in Operating Systems like Ubuntu.

Ways to Code Python In linux

There are many ways to code Python in linux. They are

  • Using Terminal

    In the terminal, type ‘python‘ and It will take you into Python shell prompt.

    • Using IDLE

    This prompt is quite similar to python prompt. IDLE and Terminal are used to get dynamic response for the codes.

    • Using vi/vim

    You can type vi filename.py to write and save a python code

    • But I am Lazy :D. So I use gedit.

    I always will code the program in gedit and save it ^_^.

    To test if you have Python already installed on your Linux box, open a shell program (like konsole or gnome-terminal) and enter the command python -V as shown below.

    $ python -V
    Python 2.6.5

    Advertisements

    1 Comment

    1. Helen Dangote said,

      This is definitely good for those looking to move into the world of Python programming.
      Nice tips.

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s

    %d bloggers like this: