Hi

I downloaded Tkinter Designer, but there´s no exe there.

I´ve used Thonny as a "compiler" for running scripts, and I used it to "make" a a simple program, but I don´t know how to save as an exe, and I don´t know how I would put these files into Thonny.

Am I even using the right program ?

Python is an interpreted language, which means the source code of a Python program is converted into bytecode that is then executed by the Python virtual machine.

As such the .exe would be the Python virtual machine and not your Python apps.

Further...

Python gets converted to byte code which is then cached in a sub-folder. As long as the source code and packages have not changed there is no need to reconvert so subsequent runs should start faster. Also, I strongly recommend that you look into wxpython as a much better alternative to tkinter. Wxpython is a wrapper for wxwidgets which is a library of controls that are OS specific. No matter what platform you are running on, controls rendered in wxpython/wxwidgets will always render as native controls for the platform.

There is also a python package called pyinstaller which you can use to wrap a python application as an executable (.exe). I find ths useful when I want to assign custom actions for my logitech mouse. I can assign actions, for example, to hmviewer.exe (home movie viewer) rather than python.exe, which I would have to do wthout running it through pyinstaller.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.