Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to find the path of a python module


import imp
print("Location of Python os module sources:")
print(imp.find_module('os'))
print("
Location of Python time module sources:")
print(imp.find_module('time'))
 
PREVIOUS NEXT
Tagged: #find #path #python #module
ADD COMMENT
Topic
Name
9+9 =