[Tutor] I am not really convinced using Python...

Kent Johnson kent37 at tds.net
Tue Jul 25 18:00:13 CEST 2006


K.R.L. NARASIMHA wrote:
> Hey friends,good day.
> I am *_not a newbie_* to programming.I already learnt C language.I 
> enjoyed it a lot.
> But I am not a computer student.So I don't require a hifi language like C.
> I am an electronics student.I would really like to know if the 
> language like Python will be of any help(use) to me.Also I heard that 
> it is an intrepeter language.
> Is it true?If yes I would like to know whether it is fast or not.Also 
> I would like to know the capabilities of Python.
> *(If I am really convinced I would use it for my life)..*

Take a look at the material on the python web site www.python.org, 
especially the ABOUT page. Take  a few hours to work through a tutorial; 
if you know C, the tutorial that comes with Python will probably get you 
started.

Python is not as fast as C to execute, but it is pretty fast and for 
many uses it is fast enough. It is much, much faster to write working 
Python code than C. There are quite a few techniques to make Python 
faster, also, including just-in-time compilation (psyco), compiling of 
an annotated subset (pyrex), or rewriting to a C extension.

For many uses, you can just write your program in Python and it will be 
fast enough. If it isn't, you can profile to find the hotspots and 
optimize them

If you value *your* time, give Python a try.

Kent



More information about the Tutor mailing list