I have built another fun project in flask – a character builder in python3

Hey there, I was developing some interesting projects for some undergraduate final year students. But I have got a tutorial on python’s web framework flask. So I took a break from my PHP projects and put some time in this project. This tutorial was from team treehouse called flask basics. Instructed by Kenneth Love. Maaaan, this tutorial was awesome. The project was to build a character according to selected outfits such as shirts, pants, footwears etc…

The flask framework was so simple to understand, I do think that my experiences in Laravel made the learning process easier, But by any means, flask framework is stupid simple enough to digest by any computer literate. The templating engine in the flask framework called Jinja2. According to the documentation,

Jinja2 is a modern and designer-friendly templating language for Python, modelled after Django’s templates. It is fast, widely used and secure with the optional sandboxed template execution environment:

Jinja2 was so easy to learn and the templating made the whole process much easier. I don’t know how to express my feelings about flask, I still don’t know how it will perform for a larger application, but for a quick web app, I will definitely choose flask. you can check out my project in flask

you can check out my project in flask here, You may need to cd into the source folder, then issue following commands.

export FLASK_APP=app.py
flask run

Open Browser and go to http://localhost:8000 You will see the app running.

Make sure you have a python3 installation.

 

Programmer, Hacker, Trainor, Speaker, and Blogger. Opensource Lover. Built LeHacker.com.

Leave a reply:

Your email address will not be published.

Site Footer