Write GUI little software with python + gnome3
Hello ,today i would like show you write some little software with python + gnome3
The manual will show you how to write a very simple example.
Let's go for fun .
- you must have a ubuntu gnome desktop
- sudo apt install python-gi-dev
- write some helloworld.py
- run by python helloworld.py
A very small window
import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk win = Gtk.Window() win.connect("delete-event", Gtk.main_quit) win.show_all() Gtk.main()
Just for fun
Post: 1970.01.01 08:33