Archive | October, 2014

Learning Python is easy :)

8 Oct

If you don’t believe me check out this link on how to program using python.

Thank you ProgrammingKnowledge for making it so easy.

In the above video link,he uses windows operating system.

If you want to use Linux,

I am using Ubuntu,

1.Go to your terminal

2.Type python

If the python terminal opens with >>> ,then your in. Otherwise you have to install the python interpreter.

3. How to come out of python terminal?

  • exit()

4.How to create a python file?

Again go to your terminal

  • vim program.py
  • Type and save your program
  • To execute your program
    • python program.py

You’ll find your output on your terminal.

Enjoy Programming!!!