This is a module named XYZ.
def func(x)
.....
.....
if __name__=="__main__":
print func(sys.argv[1])
Now I have imported this module in another code and want to use the func
. How can i use it?
import XYZ
After this, where to give the argument, and syntax on how to call it, please?