It's about time I wrote about Python Flask. One of the easiest, most accessible Python frameworks for building software.
Python was originally thought of as a great scripting tool, but there are many examples of great commercial tools built using Python.
Learning Flask opens up a brand new way to automate business processes by building a web interface to your Python business logic.
Huge companies may have significant budgets to buy and customize software for millions of dollars. However, small and medium size businesses can use programming tools to build custom software for almost no cost.
This is probably why Microsoft built VBA (Visual Basic for Applications) into their Microsoft Office suite. And many companies have taken advantage of VBA's excellent programming interface to automate calculations in Excel, or even large documents.
This is what we're going to do:
- Talk about what Flask is and what it isn't.
- Install Flask (we'll be using a Linux machine (actually a Raspberry Pi) and also a Mac, but Windows will work also.
- Run a simple Flask program.
- Create a database program using Flask. Here we learn about getting input, cleaning it and then storing it. We'll use a lightweight database (sqlite) for this - so we may branch off and discuss sqlite.
- Introduce you to Bootstrap so that we can use some libraries to make the user interface beautiful (and responsive).