views:

1027

answers:

1

How can I open __init__.pyc here?

    >>> import stompservice
    <module 'stompservice' from 'C:\Python25\lib\site-packages\stompservice-0.1.0-py2.5.egg\stompservice\__init__.pyc'>

All I see in C:\Python25\lib\site-packages\ is the .egg file, but where are the internal files of the package?

+9  A: 

http://peak.telecommunity.com/DevCenter/PythonEggs

.egg files are simply renamed zip files.

Open the egg with your zip program, or just rename the extension to .zip, and extract.

Unknown
great ! I was not knowing that.
Tumbleweed