PyCharm 2016.3 Help

Creating Web2Py Project

This feature is supported in Professional edition only.

Web2Py project in intended for productive development of Web2Py applications. PyCharm takes care of creating the specific directory structure, and settings.

To create a Web2Py project, follow these steps

  1. On the main menu, choose File | New | Project, or click the New Project button in the Welcome screen. Create New Project dialog box opens.
  2. In the Create New Project dialog box, specify the following:
    • Project name and location.
    • Python interpreter to be used for the project.

      If the desired interpreter is not found in the list, click the browse button to review the available interpreters and virtual environments, and configure the new ones.

    • Project type Web2Py project.
  3. Click OK. In the Web2Py Project Settings dialog box, specify the following:
    • Name of the Web2Py application.
    • The way you are going to use Web2Py sources: download the sources now, or use the already downloaded sources.
    • In the latter case, specify the path to the directory, where the sources are stored.

    PyCharm creates an application and produces specific directory structure, which you can explore in the Project tool window. Besides that, PyCharm creates a folder with an application that gets the name specified in the Web2Py Project Settings dialog box, which provides a simple "Hello, World!" example.

See Also

Concepts:

Last modified: 23 December 2016