Update page 'Day 9 homework - Sloetjes'

xuanyi.wang
2023-04-19 04:38:42 +02:00
parent 6085957086
commit dac6c7426f
+1 -2
@@ -29,8 +29,7 @@ def get_module_size(module_name):
return os.stat(filename).st_size return os.stat(filename).st_size
``` ```
**2. Create another function that uses the last function to see how many bytes are in all the modules listed in sys.modules. **2. Create another function that uses the last function to see how many bytes are in all the modules listed in sys.modules.**
**
``` ```
def get_all_modules_size(): def get_all_modules_size():
total_size = 0 total_size = 0