[Tutor] Importing module - file system requests
Bernard Lebel
3dbernard at gmail.com
Tue Oct 17 16:46:26 CEST 2006
Hello,
When I import a module in Python, I see that 6 file system operation
are being made. All requests are for opening.
I know very well what are the .py and and .pyc files. But I'm not so
sure what are .pyd and .pyw, and why it's looking for a dll. Anyone
can shed some light on this?
Also, if I have a .pyd version of modules, will it skip the other requests?
Here are the requests, in order:
file directory
.pyd file
.dll file
.py file
.pyw file
.pyc file
Thanks
Bernard
More information about the Tutor
mailing list