Restricting import file lookup for pyd, dll, ...

B

Bernard Lebel

Hello,

Running Python 2.4.0 on Windows. I have run a series of tests using
Filemon (SysInternals), which logs the file system requests performed
by the computer.

By default, when I import a module in Python, Python looks for pyd,
dll, py, then pyw and finally pyc file.

In our company we do not use pyd and dll for Python stuff. Is there
any chance to disable Python from looking at these? Perhaps a flag we
can change in Python? Or would it be doable by recompiling the
sources?


Any advice is welcomed
Bernard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top