Update page 'Day 9 homework - Sloetjes'
@@ -29,8 +29,7 @@ def get_module_size(module_name):
|
||||
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():
|
||||
total_size = 0
|
||||
|
||||
Reference in New Issue
Block a user