import os vopros = str(input('1: no logo\n2: Yes logo\nNumber:')) if vopros == '1': baran = str(input('Name .py file (.py -> .exe): ')) os.system(f'pyinstaller -F {baran}.py') print('Your .exe file -> dist \n by matliteoff') elif vopros == '2': baran = str(input('Name .py file (.py -> .exe): ')) logo = str(input('Name .ico file: ')) os.system(f'pyinstaller -F -w -i {logo}.ico {baran}.py') print('Your .exe file -> dist \n by matliteoff') код