From fdc543c65930fbc83bdffd14eb9adadd7e02fe0a Mon Sep 17 00:00:00 2001 From: "xuanyi.wang" Date: Thu, 20 Apr 2023 00:57:11 +0200 Subject: [PATCH] Update page 'Day 10 homework - Sloetjes ' --- Day 10 homework - Sloetjes .md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Day 10 homework - Sloetjes .md b/Day 10 homework - Sloetjes .md index e57c023..15702d3 100644 --- a/Day 10 homework - Sloetjes .md +++ b/Day 10 homework - Sloetjes .md @@ -121,9 +121,6 @@ Module directory histogram: * In the case of Pandas, many of the sub-modules and sub-packages are implemented using compiled extensions, and therefore they are loaded using an extension loader rather than the `SourceFileLoader`. This is why we see a mix of different types of loaders in the `loader` column when we run the module-inspector script on a system that has Pandas installed. **6. Extra credit: use the freeze utility to turn the module-inspector script into a real app.** -> * Install `cx_Freeze` using `pip`: pip install cx_Freeze -> * Create a new file named `setup.py` in the same directory as `module-inspector.py`: - ###### setup.py ``` @@ -146,5 +143,3 @@ setup( executables=[Executable("module-inspector.py", base=base)] ) ``` -> * Run the following command to create the executable: python setup.py build -> * Navigate to the build directory, and run the module-inspector executable to launch the app: ./module-inspector.py