Articles → Python → Import selected attributes of a module in python

Import selected attributes of a module in python






Example




from math import pi
print(pi)





Click to Enlarge



from math import pi
print(tan(1))





Click to Enlarge




Posted By  -  Karan Gupta
 
Posted On  -  Friday, April 19, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250