import module vs. from module import : Import : Statement PYTHON TUTORIALS


PYTHON TUTORIALS » Statement » Import »

 

import module vs. from module import


import types 
print types.FunctionType                        
from types import FunctionType                
print FunctionType



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Statement
» Import