Looking for the mysterious zlib.py* files in Python 2.6.4 (32-bit) forWindows

P

python

In the process of building an EXE with py2exe, I noticed that
there's no physical zlib files anywhere on my workstation.

I can import zlib and use this module's features without problem.
But when I query zlib.__file__, I get back an empty string.

Where does the zlib code live? Is zlib a <built-in> in 2.6?

The reason I question its '<built-in>' status is that when
analyzing my 2.6 based Py2exe produced executables with
DependencyWalker, I see references to a zlib.pyd file that
doesn't exist anywhere on my system. I wonder if this is
something I should be concerned about?

Can someone explain this mystery to me?

Thank you,
Malcolm
 

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,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top