Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>run-python-mNew to Visual Studio Code? Get it now.
run-python-m

run-python-m

jack-duo

|
5,871 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

使用python -m的方式运行py脚本

1、解决vscode中python引用相对路径模块的问题

2、支持右键、快捷键、run按钮等多种运行方式

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft