I want to give a path in the command argument while running main.py, and the main.py should display all the functions that are present in the .py file mentioned in the path.
main.py
getpathfromargument = /some/path/file.py
print(functions_present_in(getpathfromargument)
the path not necessarily be in the same directory as main.py
I might run this as follows
$python main.py /some/path/file.py
to access the function from main.py do I have to import the file in the path?