This is probably a silly question, but I have a python script that current takes in a bunch of arguements using argparser and I would like to load this script as a module in ano
One of the option is to call it as subprocess call like below:
import subprocess childproc = subprocess.Popen('python childscript.py -file yourjsonfile') op, oe = childproc.communicate() print op