简体   繁体   中英

Give python variables to GTK+ with an html file

for a project i have to make a GUI for python. It should show some variables (temp etc). But I don't know how I can pass variables trough GTK to the window. Any answers appreciated :)

some info: I am using a RPi3, but that's nothing which is important, or is it? I have a 7" display attached, on which the program should be seen in full screen. In the end, there should stand sth like temp, humidity, water etc

I don't exactly know which GTK i use, but it's in python. So I think it's pygtk

Thanks for reading,

Fabian

Done. I've used Flask, Socket.io and gtk to make an app, showing a html file in full screen, with python variables in it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM