Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simplest framework for converting python app into webapp? [closed]

Tags:

python

django

I have a small python app that I would like to convert into a webapp. I have look at some frameworks out there such as django.

I need some suggestions on a very simple framework. All my webapp will have is a textbox and two buttons.

like image 467
fpena06 Avatar asked Dec 12 '25 15:12

fpena06


2 Answers

Look at Bottle, great for simple webapps. Example code from their website:

from bottle import route, run

@route('/hello/:name')
def index(name='World'):
    return '<b>Hello %s!</b>' % name

run(host='localhost', port=8080)
like image 110
PabloRosales Avatar answered Dec 15 '25 04:12

PabloRosales


CherryPy would serve you the best if you are looking for a minimalist one.

like image 44
pravin Avatar answered Dec 15 '25 04:12

pravin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!