import humansizes print(humansizes.approximate_size(80808080, True)) # function docstrings to see developer's documentation print(humansizes.approximate_size.__doc__)
import humansizes print("Line 2", humansizes.approximate_size(80808080, True)) print("Line 3", humansizes.approximate_size.__doc__)
# Syntax for importing modules import humansizes # Print the __name__ prop of the imported module print(humansizes.__name__) # Print the doc string of the imported module print(humansizes.__name__.__doc__) # Execute methods from the module print(humansizes.approximate_size(16384, False))
import humansizes # dev documentation of a def(function) print(humansizes.approximate_size.__doc__) # Accessing the def 'aproximate_size' from the humansizes module print(humansizes.approximate_size(1024, True))