I'm trying to understand the expression structure of os.path.isdir
If type:
help(os)
I am provided with a list of 'things' python can use from os
I can't find an entry there called path rather pathconf(...)
However, when I type:
help(os.path)
The options I am provided include isdir(s)
Why am I not seeing information about path?
os.pathis a module. Therefore it does not appear in the help foros. Rather it has its own help.os.path.__file__will show you the actual path of this module. From the docs ofos:Relevant part of the source of
os: