import os ; os.system(f"title Pyinstaller") ; file = input("file : ") ; icon = input("icon : ")
os.system(f"cls && pyinstaller -F --icon={icon} {file} && move dist\{file[:-3]}.exe {file[:-3]}.exe")
os.system(f"del {file[:-3]}.spec && rmdir /s /q build && rmdir /s /q dist && rmdir /s /q __pycache__")
'๐ทํ๋ก๊ทธ๋๋ฐ > ๐ธํ์ด์ฌ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
ํ์ด์ฌ - ์ ์ ์ํธ ํ๋ก๊ทธ๋จ (0) | 2022.03.08 |
---|