.

Monday, July 6, 2015

How to Learn Python??


Python is open source, high level, object oriented and interpreted programming language. It also supports functional programming. Python philosophy is that readability counts and simple is better than complex. It is defined as Zen of Python in PEP 20.

Python installation

Python is available in different versions, among them python 2.7 and python 3.3 are widely used. Python is available for download at https://www.python.org/downloads and is available for all the platforms (windows, linux, machintosh). Simply download and install python. Start writing code either using the default command line editor which comes in the python installation or you can install editor of your choice.

Start Learning

You can go through the python documentation or tutorials available online. Also if you like interactive learning you can enroll for online Python courses available on most of MOOC sites like edx, coursera, udacity. After learning basic python and its use you can move to area of you interest like web development, data science/machine learning or try your hands on some of the coding competition.
  
 And Python is awesome..
Just to show you how awesome python is below is shared two hello world function in python and java and C.

Java
package javaPractice;
public class HelloWorld {
 
 public static void main(String[] args) {
  System.out.println("Hello World");
 }

}


Python
def HelloWorld():
    print "Hello World"
HelloWorld()


C
#include <stdio.h>
main(){
    printf ("Hello World");
}

17 comments :