How Python Stole My Heart !!

PythonIt Stole my heart “YES Absolutely correct”.It’s better than a girl friend.I Learnt some pragramming languages like c,c++,java but haven’t fell in love with any. to learn another language i was going through many websites to choose the best.best keyword started relating to python in many of the websites.so i fixed to start learning python now i’m loving it.it was great to learn some programming language like python.it is simple,powerful,beautiful and adjectives goes on….Let me show you the difference between c program and python program in simplicity.Below i wrote a hello world program which every newly born programmer writes.
C language :

#include<stdio.h>

void main()

{

printf(“Hello! world”);

}

Python:

print”Hello! world”

In C we have to include the header file before using any of them and we use brackets for indentation and semi colon after every line of code to terminate it.Python makes it easy by making the programmer not to remember to keep the semicolon(After all a semicolon programmer knows the value of it) at all.Because python knows where line ends and in python indentation happens with spaces just pressing the big button below instead of pressing shift and flower braces.Maintaining the two friends Client and Server is very easy in python compared to other languages.there are wide range of applications for python like web,data,AI,gaming etc..
The other interesting thing in python is Zen of Python which tells you what it is

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren’t special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one– and preferably only one –obvious way to do it.
Although that way may not be obvious at first unless you’re Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it’s a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea — let’s do more of those!
Python is a lot more than just a scripting language we can write games,desktop applications,web applications and many more in python.it’s very powerful.it’s code can run in any platform.None of the programming language have feature of embedding another language in them we can write c code in python program using ctypes that sounds great right!!

The other interesting thing about python is

Jython compiles into Java byte code, which can then be executed by every Java virtual machine implementation. This also enables the use of Java class library functions from the Python program.
IronPython follows a similar approach in order to run Python programs on the .NET Common Language Runtime.
The RPython language can be compiled to C, Java bytecode, or Common Intermediate Language, and is used to build the PyPy interpreter of Python.
Pyjamas compiles Python to JavaScript.
Shed Skin compiles Python to C++.
Cython and Pyrex compile to C.

Zen of python By Prudhvi

python is better than girlfriend

spaces are better than flower braces

lazy is better than active

all in one is better than all in all

security is better than insecurity

Loving is better than hating

smart work is better than hard work

And with all above features it stole my heart simply.

Advertisements

2 thoughts on “How Python Stole My Heart !!

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s