-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow py4web to be run using "python -m py4web" (#935)
* Allow py4web to be run using python -m py4web * update debugging docs for __main__.py usage * update vscode HTTPS launch.json for __main__.py usage --------- Co-authored-by: Laurin Schmidt <l.schmidt@geosens.de>
- Loading branch information
Showing
3 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# allow py4web to be run as a module | ||
# this file is called when running "python -m py4web" | ||
from py4web.core import cli | ||
|
||
cli() |