I am trying to compile Python code with this line in it, and it's not making any directories, but everything else is working.
os.mkdir('{}\\{}'.format(dir_path, scenario['name']))
I compiled with the --console flag, and there are no errors when running. I also ran as admin. Thanks for any help.
Here is how I got dir_path
if getattr(sys, 'frozen', False):
dir_path = sys._MEIPASS
else:
dir_path = os.path.dirname(os.path.abspath(__file__))