hrnoob.blogg.se

Turn tkinter into .exe file on mac
Turn tkinter into .exe file on mac







turn tkinter into .exe file on mac

Year= Entry(main, textvariable = birthYear, font=('normal',13,)).place(x=150,y=200,width=70,height=30)Ĭalci = Button(main, text='Calculate Age',bg='pink',command=calculate). TodayDate = todayDate+monthOfYear#28+31=59,ĬalculatedDate = abs(todayDate-date)# (59-30=29)ĬalculatedMonth = abs(todayMonth-month)#12-1=11ĬalculatedYear = abs(todayYear-year)#2021-2000=21Īge = Label(main, text='You Are Days Old!'.format(years=calculatedYear, months=calculatedMonth, days=calculatedDate),font=('normal',14),justify='center').place(x=0,y=350,width=500) Here is the Sample code i tried to convert into exe. The pip version is 22.0.3 and the pyinstaller version is 4.9. But few file aren't! I am using the Python version 3.10.2.

Turn tkinter into .exe file on mac mac os#

Most of the time on Linux and Mac OS X, Python will be in your path environment variable. If that is not the case, just use C:Python27python.exe pyinstaller.py myscript.py in Windows.

turn tkinter into .exe file on mac

And few files are successfully converted to exe and working properly. Remember that running python pyinstaller.py myscript.py assumes that you have Python in your path environment variable. The exe file is created but when i try to open it the cursor is loading yet the application is not opened. Tried both pyinstaller and auto-py-to-exe. I have made a simple gui based application using tkinter.









Turn tkinter into .exe file on mac