Python Forum

Full Version: Newcomer has a project in mind
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am completely inexperienced and new to Python, but have experience with every possible web programming language.

I have the following plan:
- I want to create a booking software with GUI in Python and compile it as EXE after completion.
- All common functions of an accounting software should be available (e.g. writing invoices, recurring invoices, etc.).
- Everything possible should then also be written to a local database.

Now I wanted to ask: Is Python suitable for creating a Windows app? And how difficult is it to implement?

Thanks in advance.
(Dec-27-2024, 08:29 AM)omexlu Wrote: [ -> ]Now I wanted to ask: Is Python suitable for creating a Windows app? And how difficult is it to implement?

Python is not made to deploy binary files, but it's possible with different tools like PyInstaller or nuitka.

e.G. PyInstaller takes the CPython interpreter and put it together with required dependencies and 3rd party dependencies. But the size of the exe files grows for each dependency. QT5/6 is for example big.

Nuitka is a bit different, it converts Python to C++ and then it compiles it. Also, there are dependencies included.

As GUI libraries, you could use the Tkinter, which is in the Python standard library. If you use it and bundle it with Nuitka or PyInstaller, then it's smaller as you choose to use a QT5/6 wrapper. Each dependency let your bundled exe or directory grow. AFIK PyInstaller uses UPX to pack binaries, but sometimes it's detected as Virus, because hackers are using the same method.

For the start Tkinter is ok, but for better control, PySide6 is convenient. It is a wrapper for QT6, which is the biggest GUI framework I know.

Other GUI libraries: