[Tutor] C to Python

alan.gauld@bt.com alan.gauld@bt.com
Thu, 22 Feb 2001 11:36:03 -0000

> How is Python like C/C++?  

They are all general purpose programming languages.

C/C++ programs will usually run faster but require 
that you write about 3 times as many lines of code 
to achieve the same end. 

C/C++ programs are compiled and usually easier to distribute but will only
work on the platform they were compiled for. Python willl usually work on
any platform with an interpreter installed.

> Can it do everything C/C++ can do?

It can also do things that C/C++ can't do.

Alan g.