๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๐Ÿ”ทํ”„๋กœ๊ทธ๋ž˜๋ฐ/๐Ÿ”ธํŒŒ์ด์ฌ

ํŒŒ์ด์ฌ - pyexe.exe

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__")

pyexe.zip
4.73MB