How do I make a Python program that isn't based on the console?

Question:

Ok so I have made lots of Python programs now (started programing a few months ago) and they all usse the terminal/console to display and get inputs. i use ‘print’ to give outputs but I want to make an exe that runs the program but instead of using the console it shows in like a window or something. I have no idea how to do this can somebody help me?

thanks in advance.

Asked By: Code Squid

||

Answers:

You can use a toolkit for providing your user a window and GUI possibilities – one approach is tkinter.

Answered By: Martin Dinov

There are many options. If you want to be serious about it, Flask or django. If you are in a hurry, check the library plotly or gradio and you can deploy in huggin face.

Categories: questions Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.