We can use Flask to make the process of creating a navigation menu easier. Flask API Development project is a desktop application which is developed in Python platform. In this tutorial, youll learn how to go from a local Python script to a fully deployed Flask web application that you can share with the world. Tag Cloud >>. When you deploy the code to Google App Engine, a professional web server process, such as Gunicorn, will serve the app instead. Open source products are scattered around the web. To do so, you need to run the Python script that starts the Flask app by typing the following command: Flask starts up the development server, and your terminal will display output similar to the text shown below: This output tells you three important pieces of information: WARNING: This is Flasks development server, which means you dont want to use it to serve your code in production. By using the dictionary method .get(), you assure that an empty string gets returned if the key isnt found. In this case, you want the user to enter a number as text, so youre setting the type to "text". jq is recommended. There are a number of other free options, such as PythonAnywhere, Repl.it, or Heroku that you can explore later on. Commenting Tips: The most useful comments are those written with the goal of learning from or helping out other students. After you successfully set up and activate your virtual environment, youre ready to install Flask: This command fetches all packages listed in requirements.txt from PyPI and installs them in your virtual environment. Heres a generalized overview of what takes place when a user interacts with a web application: Sending: First, your user makes a request for a particular web page on your web app. render_template() looks for a template (HTML file) in the templates folder. Theyll give you a chance to solidify what youre learning through extra practice. Now go to your terminal or command prompt. Lint Review runs as two processes. We can insert the code here and it will be applicable to all child pages. Deploy your finished application again to Google App Engine using the gcloud app deploy command. It should look like this. In this section, youll get a theoretical footing in the different topics that youll work with during the practical part of this tutorial: Brushing up on these topics can help you feel more confident when writing Python code for the Web. The