<chapter 2>2-2-2. Developing Python apps (developing a Python app)

Source: Internet
Author: User

The simplest Python app for app Engine is a simple directory with two files: a configuration file called App.yaml, and a Python code file to request the processor. This directory containing the App.yaml file is the root of the application. You will often use this directory when using the tool.

※ If you use launcher, you can create a new project by selecting the File menu new application. Launcher create a new project with some files, you might want to edit these files in this example. Optionally, you can also manually create this project directory and file, and then append the project to launcher by clicking the File menu, Add Existing application.

Create a directory called Clock to include this project. Using your favorite text editor, create a file called App.yaml in this directory, similar to example 2-1.

Example 2-1: A simple application configuration file that uses the Python2.7 runtime environment

application:clockversion:1runtime:python27api_version: 1threadsafe:truehandlers:-url :. * script:main.applicationlibraries:-name:webapp2 version:"2.5.1"

<chapter 2>2-2-2. Developing Python apps (developing a Python app)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.