PyCharm 2017.2 Help

Creating Web2Py Project

This feature is supported in the 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. Do one of the following:
    • On the main menu, choose File | New | Project.
    • Click New Project 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.

      So doing, if Web2Py is missing, PyCharm informs you that Web2Py will be installed on the current project interpreter.

  3. In the More Settings section, do the following:
    1. Specify the desired application name.
    2. If necessary, select the check box Local Web2Py.

      If this check box is selected, then the local Web2Py sources will be used; you can download Web2Py sources from here.

      If this check box is not selected, then the entire Web2Py will be downloaded.

  4. Click Create.

PyCharm creates an application and produces specific directory structure, which you can explore in the Project tool window. If there are unsatisfied requirements, PyCharm suggests to resolve or ignore them.

Last modified: 26 October 2017

See Also