Question about compiling.

Gabriel Genellina gagsl-py at
Wed Jan 10 10:31:46 CET 2007

At Tuesday 9/1/2007 14:56, Steven W. Orr wrote:

>I *just* read the tutorial so please be gentle. I created a file called
> which works very nicely thank you. When I run it it does what it's
>supposed to do but I do not get a resulting .pyc file. The tutorial says I
>shouldn't do anything special to create it. I have machines that have both
>2.4.1 and 2.3.5. Does anyone have an idea what to do?

Welcome to Python!
When you run a script directly, no .pyc file is generated. Only when 
a module is imported (See section 6.1.2 on the tutorial). And don't 
worry about it...

Gabriel Genellina
Softlab SRL 


Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 

More information about the Python-list mailing list