[Tutor] Writing a programming language in Python

Stefan Behnel stefan_ml at behnel.de
Tue Dec 21 11:25:32 CET 2010


David Hutto, 21.12.2010 11:16:
> I understand it's .pyc so it's a compiled file and ready for usage
> as 'anyother'(I might be wrong on this, but sure it's the same as
> converting the original py file straight back to c).

".pyc" files have nothing to do with C. They are just compiled byte code, 
and not even portable to other Python runtimes (and sometimes not even 
between CPython versions).

Stefan



More information about the Tutor mailing list