Wednesday, April 17, 2013

Python - impressed me alot

Recently i tried out python.
i found is extremely easy and beautiful.
I now strongly feel python should be the first language everybody should learn.
Python may not be as fast,  small as c,  but its fun to use.
It helps to concentrate on algorithms rather than syntax and data types.
if people start with python,  more of them will love programming.

Its super crisp.

Hello world program is just

print('hello world ')

Cat command would be

Fin=open('file.txt')

for line in Fin:
    print(line)

Dats it.
Its so easy.

Also the gui programming in python is fast and simple.
I prefer pyqt,  but pygtk,  wxpython would also be useful.

So if u wanna teach programming to kids make sure u start with python.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.