Satish Gunjal
2015-10-15 13:58:58 UTC
In my python script I am doing bluetooth and RF communication on individual
threads respectively. I want to add Rest Web Method in same script using
Bottle web framework.
If I add below code, in existing python script, it wont work. How to make
it work in existing script.
from bottle import Bottle, run
app = Bottle()
@app.route('/hello')def hello():
return "Hello World!"
run(app, host='localhost', port=8080, debug = True)
--
threads respectively. I want to add Rest Web Method in same script using
Bottle web framework.
If I add below code, in existing python script, it wont work. How to make
it work in existing script.
from bottle import Bottle, run
app = Bottle()
@app.route('/hello')def hello():
return "Hello World!"
run(app, host='localhost', port=8080, debug = True)
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.