I have my convert.py file that converts myFile.py to myFile.exe, and that's working. But when I convert convert.py to convert.exe it won't convert myFile.py anymore.
All of these files are inside of one folder:
convert.py:
import PyInstaller.__main__ PyInstaller.__main__.run([os.path.abspath("myFile.py"), '--noconfirm', '--onefile', '--console', f'--icon={os.path.abspath("icon.ico")}', "--name", "myFile"]) myFile.py:
print("Hello World!") while True: continue When running convert.exe 2 folders should be created: build and dist, myFile.exe should be created inside of dist, but here's a video of what's happening, and here's a video of what should be happening.

convert.exein an already open command prompt and post the output.