Python Web Applications: Deploy Your Script as a Flask App

By realpython - 2021-02-02

Description

In this tutorial, you’ll learn how to go from a local Python script to a fully deployed Flask web application that you can share with the world.

Summary

  • You wrote a Python script that you’re proud of, and now you want to show it off to the world.
  • As the project ID needs to be unique, your number will be different than the one shown in this tutorial.
  • Even the error handling from your script is still functional and displays a message when a user enters a nonnumeric input.
  • Since you’re validating the type of the user input in fahrenheit_from(), you don’t need to implement flask.escape(), and it won’t be part of your final code.

 

Topics

  1. Frontend (0.19)
  2. UX (0.16)
  3. Mobile (0.15)

Similar Articles

5 big and powerful Python web frameworks

By InfoWorld - 2021-01-17

Why build your own user credentialing, form handling, security, and other stock components? These big and powerful Python frameworks cover all the bases.

Progressive Web Apps in

By firt - 2021-02-16

The current status of the PWA platform, abilities, compatibility, app store distribution, PWA market share and more insights about the state of the platform

Progressive Web Apps in

By firt - 2021-01-09

Learn about Mobile and Web Development with Maximiliano Firtman's articles, notes and learning experiences. Progressive Web Apps, Web Performance, Android Apps, iOS Apps and more

Build an Accessible Web App with HTML, Sass, and JavaScript

By freeCodeCamp.org - 2020-11-12

Are you looking for another web app project to build? Are you interested in incorporating accessibility into your websites? Do you want to learn more about creating mobile-first apps? If you answered ...