Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sample code for the Flask tutorial in the VS Code documentation

License

NotificationsYou must be signed in to change notification settings

poligraph/python-sample-vscode-flask-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run the sample:

  1. In VS Code Terminal, runpython -m venv env to create a virtual environment as described in the tutorial.
  2. Press Ctrl + Shift + P and run commandPython: Select Interpreter. If possible, select the interpreter ending with "('env': venv)"
  3. Activate the virtual environment by runningenv/scripts/activate if you are on Windows or runsource env/bin/activate if you are on Linux/MacOS.
  4. In terminal, runpip install flask.
  5. From Run and Debug section, selectPython: Flask launch configuration and hit F5.
  • For steps on running this app in a Docker container, seePython in containers on the VS Code Docs website.

Contributing

Contributions to the sample are welcome. When submitting changes, also consider submitting matching changes to the tutorial's source filetutorial-flask.md.

Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and willingly choose to, grant us the rights to use your contribution. For details, visithttps://cla.microsoft.com.

When you submit a pull request, a CLA-bot automatically determines whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

Additional details

About

Sample code for the Flask tutorial in the VS Code documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML34.2%
  • Python29.2%
  • Dockerfile26.2%
  • CSS10.4%

[8]ページ先頭

©2009-2025 Movatter.jp