Python compared to other language

walterbyrd walterbyrd at iname.com
Sat May 19 02:24:15 EDT 2007


On May 18, 8:28 pm, Steve Holden <s... at holdenweb.com> wrote:

> Surely the fact that Python is available on so many platforms implies
> that C is a fairly portable language.

Unless it's the same C code, I don't see how that means anything. If I
write an app on Windows with C, and I rewrite the same app on UNIX
with C - that doesn't mean the C code has been ported.

My guess is that some of the C code used to develop Python is the same
between the different Python distros, but much of the code is unique
to the particular platform. If that is the case, then the C code may
not be very portable.

But, I can often take the same python code, and run it on MacOS,
Linux, FreeBSD, and Windows. Often I can do this even if the app has a
gui interface.




More information about the Python-list mailing list