Modules can be imported directly using the package or module name. : Import : Statement PYTHON TUTORIALS


PYTHON TUTORIALS » Statement » Import »

 

Modules can be imported directly using the package or module name.


# Items in submodules must be accessed explicitly including the full package name.

import os
print os.path.abspath(".")



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Statement
» Import