Forums

Total noob needs a helping hand to create really simple app

Good afternoon,

I've used PythonAnywhere for a while to create very simple python apps, but nothing that connects to a database with Flask.

I've got a dataset that I've created locally using Pandas that I'd like to upload and then query using a simple form - something like this: http://www.walesonline.co.uk/lifestyle/welsh-homes/your-area-kept-up-wales-11035723

I can see the steps I've got to complete, but not how to do it in practice:

1) Upload database/flat file into pythonanywhere 2) Create form which upon submission queries the database/flatfile 3) Return the query 4) (Ideally) How do I implement this solution as something that could be embedded into a webpage?

Could anyone spare me a couple of minutes to provide some links on the various bits?

There is extensive help available on the PythonAnywhere help pages including a link to a blog post entitled "A beginner's guide to building a simple database-backed Flask website on PythonAnywhere"

Glenn, Just wanted to say thank you. I've struggled, dithered, struggled and put off jumping off into dev because I couldn't find what I wanted.

That was the perfect answer. :)