Getting started with NiceGUI in Python. Run in a window

preview_player
Показать описание
If there is one area where Python has a weak point, it is Graphical User Interfaces (GUI). Your options are to use native widgets (PyQt, PySide, Tkinter), custom rendering (Kivy) and running things in the browser. In this tutorial you see how to start with NiceGUI, that does not only run in the browser but also adds Electron-like features to take your application and run it in a window.

C H A P T E R S
0:15 Python was not created with GUI in mind
0:45 NiceGUI can run in a window
1:00 Install NiceGUI
1:16 Hello World in the browser
2:15 Button click handler
3:00 Run the niceGUI app in a native window

M Y O N L I N E T R A I N I N G

L I N K S I N T H E V I D E O

#nicegui #pythongui #python
Рекомендации по теме
Комментарии
Автор

It very nice to see new frameworks such as NiceGUI, Flet and Pynecone, emerging for the Python community. Thanks for the gist.

AmoahDevLabs
Автор

Thank You very much for the very clear pronunciation. I'm not an english speaker, so it's important for me, and it's just nice! Thank You!

bairshirapov
Автор

Is there a WYSIWYG editor that you can design the GUI elements? Like Qt Designer, Glade/Cambalache /GTK Builder, wxSmith / wxGlade / wxFormBuilder?

Also is it possible for the browser application to access a serial USB device?

ImGui seems very powerful, but not beginner friendly.. although there are some GUI editors available for it (tpecholt / imrad, Raais/ImStudio, ImGuiBuilder and JamesBoer / ImFrame).

There's also some python libraries (pyimgui and dearpygui) that use imgui. DearPyGui wraps imgui, implot, imnodes, plus more custom objects to make it much easier to use.

bennguyen
Автор

when i run a test app in native mode and close the window, the program does not stop, like in vscode the debugging still runs and it has active processes. can someone help with that?

buzzdx
join shbcf.ru