>>> print(help('modules'))
or
>>>help()
help>>> os
<.......>
This will list all methods/fuctions inside os module
or
>>import sys
>>print(sys.modules)
>>print(sys.path)
>>dir('__main__')
or
>>>help()
help>>> os
<.......>
This will list all methods/fuctions inside os module
or
>>import sys
>>print(sys.modules)
>>print(sys.path)
>>dir('__main__')
No comments:
Post a Comment