Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
4 views
in Python by (47.6k points)

Python works on multiple platforms and can be used for desktop and web applications, thus I conclude that there is some way to compile it into an executable for Mac, Windows and Linux.

The problem being I have no idea where to start or how to write a GUI with it, can anybody shed some light on this and point me in the right direction, please?

1 Answer

0 votes
by (106k points)
edited by

If you want to create a directly-executable cross-platform GUI app using Python first you will need some GUI library with Python bindings and then some program that will convert your python scripts into standalone executables.

Below is the name of cross-platform GUI libraries with Python bindings (Windows, Linux, Mac):-

  • Tkinter - You can use Tkinter and it is based on Tk GUI toolkit (de-facto standard GUI library for python, free for commercial projects)

  • WxPython - Another option you have is to use WxPython, based on WxWidgets (popular, free for commercial projects)

To know more about this you can have a look at the following video:-

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...