Does Tkinter to .EXE support in all operating systems especially unix and linux? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does Tkinter to .EXE support in all operating systems especially unix and linux?

I turned a python code into to a .EXE formatted python application, which I have tested in all major windows versions like Win XP , Win 7 and Win 10, and it works like a dream! BUT NOW MY QUESTION IS: will this code perform same in Unix or Linux operating system? As my computer is old enough, when I tried to install Linux here it was working for couple of days then suddenly after some days, my pc got a major hang so I had to withdraw Linux to avoid more harms. So I couldn't complete my test there.

23rd Aug 2020, 4:12 AM
[B.S.] BITTU
[B.S.] BITTU - avatar
4 Answers
+ 1
Your code is going to run because all the linux distributions has python installed, but your exe isn't going to run because the exe files are for windows so...that's it. Also you might check the python version installed on the linux distribution, normally they have installed the 2.X so if you use Python 3 functions it will not run. Have a nice day ๐Ÿง๐Ÿผโ€โ™€๏ธ๐Ÿง๐Ÿผโ€โ™€๏ธ๐Ÿง๐Ÿผโ€โ™€๏ธ
23rd Aug 2020, 4:59 AM
Ariadne Rangel
Ariadne Rangel - avatar
+ 1
[S.S] Subhojit Look the problems isn't really the language is the file extension, the vanilla linux distributions cannot open .exe files, you might use .db or .tar.gz (those are the common ones). Your C/++ programs can run in Linux but you will need to use those kind of extensions. For Java I don't have much experience but it can run anywhere meanwhile your PC has installed the JVM using the .java scripts.
23rd Aug 2020, 5:48 AM
Ariadne Rangel
Ariadne Rangel - avatar
0
Ariadne Rangel If I had written it in C,C++ or Java would it work?
23rd Aug 2020, 5:39 AM
[B.S.] BITTU
[B.S.] BITTU - avatar
23rd Aug 2020, 5:49 AM
[B.S.] BITTU
[B.S.] BITTU - avatar