Modify a python package installed as a single EGG file
Sometimes, you want to modify a python package installed in your python library. How about if you see the package youjust installed is a single .egg file? You could still open it with your favorite decompress program, such as 7zip, since we know .egg file is just a ZIP file. After decompress you get folders which contain regular.py and .pyc file for you to work on. Then you can put the decompressed folder into your site-package directory keeping the same name (use original .egg name as directory name).
Subscribe to:
Post Comments (Atom)
Datatable static image not found on the server
When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...
-
1. locate where is suexec by running the following: whereis suexec return suexec: /usr/sbin/suexec /usr/share/man/man8/suexec.8.gz 2. rename...
-
Case One The following procedure is good if you have admin account for Internal workspace. 1. Log into Internal workspace with admin accou...
-
Step 1. Install Oracle XE 11g 1. Download Oracle XE (oracle-xe-11.2.0-1.0.x86_64.rpm.zip) from Oracle official website. You need an accoun...
No comments:
Post a Comment