Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7333

Python • Debug Flask Server from Thonny

$
0
0
I'm trying to host a web page/server on my Pi to report sensor information.

I tried this example/tutorial and it works as advertised.

https://projects.raspberrypi.org/en/pro ... th-flask/1

However if I launch the py code from the Thonny GUI, the code runs but I can't access the web page. If possible I would like to operate from the GUI for debugging.

Why would the web page only be accessible if I execute the py code from a terminal?

Statistics: Posted by OldPCGuy — Sun Sep 07, 2025 3:05 pm — Replies 1 — Views 173



Viewing all articles
Browse latest Browse all 7333

Trending Articles