Python seems to process my attempt :
subprocess.call(['set' , 'logfile=cat'], shell=True)
It returns no errors. However when I try using logfile as a variable or do %logfile%, it doesn't seem to have set logfile as anything. How does one make batch variables from within a python script?
What I am attempting to do with this is: I have a batch script that sequentially runs several python scripts. I wanted to set a variable from within one of my python scripts that would persist throughout my batch script.