I'm new to the python world but thought it would be a good place to start using it on the Yun since it was already pre installed. I was hoping to use the Bottle Micro Framework to create some web services. I followed the installation in the Bottle tutorial
And this worked fine. I have a virtual env setup and attempted to run the small hello.py example. It comes back after a few seconds instead of waiting on port 8080. It's a pretty trivial script
from bottle import route, run @route('/hello') def hello(): return "Hello World!" run(host='localhost', port=8080, debug=True)
So the reason I ask exactly the same workflow on a Raspberrypi or x86 red hat version of linux works flawlessly. I'm wondering if anyone can spot the simple flaw in this otherwise simple test. I've tried different ports and changing localhost to an IP and hostname... nothing.