You couldn't possibly install a framework like Django, which comes with everything and a kitchen sink when it gets installed into a pico. Never mind run it.Hi,
I am playing around with trying to implement a simple home control widget using a Pico W. I have become familiar with using Django and MVC structured web work.
Two things. First, all the examples of web implementation on a Pico have the HTML code embedded in the file for running and just calling the method to return the string. It would be nicer to render the index.html file. Second, is there a Django that runs on Raspberry Pi Pico micropython?
Thanks so much,
Jack
A pico is a microcontroller, not a [micro] computer.
There are smaller "frameworks" similar to flask that you can run in a pico, one I've seen recently is Phew. Other than a simple example, I have not used it yet. Take a look at that.
When the pico first came out, there was another much closer to flask, but I can't remember what it is called.
I put the word framework in quotes above because what you are going to get for the pico is not going to be anything anywhere near what any of those full python frameworks offer on a computer.
Statistics: Posted by memjr — Sat Aug 10, 2024 4:42 pm