Re: python pyc or pyo files

2006-04-20 Thread micklee74
thanks! got it -- http://mail.python.org/mailman/listinfo/python-list

Re: python pyc or pyo files

2006-04-19 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > This is an expected behaviour right? why is B.pyc not generated? PYC files are only generated for modules that are imported, not for toplevel scripts. also see: http://pyfaq.infogami.com/how-do-i-create-a-pyc-file -- http://mail.python.org/mailman/listinfo/p

Re: python pyc or pyo files

2006-04-19 Thread micklee74
thanks ! can i ask again... I have two scripts , A.py and B.py In B.py, i have an import statement to import A.py When i executed B.py, i saw a A.pyc in the same directory, but not B.pyc This is an expected behaviour right? why is B.pyc not generated? thanks -- http://mail.python.org/mailm

Re: python pyc or pyo files

2006-04-19 Thread Fredrik Lundh
"[EMAIL PROTECTED]" wrote: > any good websites or articles that describes about pyc or pyo files , > how they are generated and what's the difference between them and > Java's bytecode?? they're described in the Python tutorial: http://docs.python.org/tut/node8.html#SECTION008120