Make Fast GUI’s With Python!

Manpreet Singh
2 min readNov 14, 2023

Welcome back! Python is by far one of the best programming languages out there, so, let’s take a look at an awesome way to make fast GUI’s with Python! This specific method by using the NiceGUI package, luckily for us, it’s hosted on GitHub! Here is a link to this project:

You can also check out their GitHub page as well:

This package has a ton of capability inside of it, here are a few things you can do with this framework:

If you want to install it, you can use the following pip command:

python3 -m pip install nicegui

From here, you can build out a basic front-end using the following code:

from nicegui import ui
ui.label('Hello NiceGUI!')
ui.button('BUTTON', on_click=lambda: ui.notify('button was pressed'))
ui.run()

You can then run this project by using the following command:

python3 main.py

At this point you should see the UI pop up and you can build out your project from there! Do you plan on using this framework? I would love to hear your thoughts about it!

Thanks So Much!

Feel free to connect via Twitter if you have any thoughts or questions:

Thanks so much for your support!

--

--