I have 2 scripts working together, one script receives the IP and port to connect to a server (more than one) and calls an client script, passing the ip and port to the main(ip,port) function on the client script but how can I call the client script AND pass the ip and port?
FEEDBACK:
#'pushd' dosn't work with os.system, you can use:
os.chdir('directory path')
os.system('python YourScriptName.py argument1 argument2')