[Tutor] Mysterious .pyc

Matthias Hager martok@mattsmail.com
Thu, 18 Jan 2001 15:15:56 -0800

I'm learning python, and just read about functions. But whenever I call a function from another file, it creates a file. Say I 
import leap2

It creates a file called leap2.pyc
Why is it doing that? The leap2.pyc has some unreadable junk in it, some of it looks sort of like what I had in leap2.
What am I doing to make it do this?
And how come I don't have to specify where Python is located on my system in a program?





Like my email address? Get your own for FREE at http://firstname.com 
Get you@JohnsMail.com or you@AlexsMail.com or pick from 500 more!