Alex
Alex

Reputation: 44709

Writing Windows GUI applications with embedded Python scripts

What would be the optimal way to develop a basic graphical application for Windows based on a Python console script? It would be great if the solution could be distributed as a standalone directory, containing the .exe file.

Upvotes: 1

Views: 2053

Answers (4)

AshhadDevLab
AshhadDevLab

Reputation: 528

Tkinter is the best solution to achieve the goal mentioned.

After creating the app in Tkinter one can convert it into a cross-platform executable using PyInstaller

Upvotes: 0

codeape
codeape

Reputation: 100766

Tkinter is quick and easy to use. Tkinter is in the Python standard library.

Upvotes: 2

Diaa Sami
Diaa Sami

Reputation: 3307

As far as I understand your question, you want to write a graphical windows application in Python, to do this I suggest using wxPython and then py2exe to create a standalone exe that can run on any machine without requiring python to be installed

The following tutorial shows everything step by step: Quickly Creating Professional Looking Application Using wxPython, py2exe and InnoSetup

Upvotes: 8

Antonio Cangiano
Antonio Cangiano

Reputation: 786

I would recommend that you use IronPython, which is Microsoft's implementation of Python for the .NET framework.

Upvotes: 3

Related Questions