Given:
The existence of a library file within a xxx.egg file somewhere on the system.
Also given:
I want to experiment with that particular library(ies) within the .egg file.
Assumption:
I cannot open and edit an egg file directly, nor can I manipulate them directly as in “extract a file from a ZIP archive here”.
Question:
Is it possible to make a copy of a library(ies) from within an egg file to somewhere else?
Example:
A Python egg file exists at
/home/pi/.local/lib/python3.7/site-packages/gopigo3-1.3.2.1-py3.7.egg
and contains the library file “easygopigo3.py”.
I want to copy the easygopigo3.py library file from the .egg file to /home/pi/testlibs/easygopigo3.py
Yes, I know there are library files scattered all over Hell and Half of Texas, but I want to make sure I am testing with an identical copy of what the system would be using.
Thanks!