推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
blackantt
V2EX  ›  Python

vscode+wsl 配好后,只能编辑运行 wsl 里的 py 文件了。怎么同时编辑运行本机 windows 的 py?

  •  
  •   blackantt · Mar 22, 2022 · 3642 views
    This topic created in 1665 days ago, the information mentioned may be changed or developed.
    7 replies  •  2022-03-22 10:21:26 +08:00
    Privileges
        1
    Privileges  
       Mar 22, 2022
    /mnt/ 挂载回 Windows 目录 ?
    Muniesa
        2
    Muniesa  
       Mar 22, 2022 via Android
    C 盘=/mnt/c
    v2survive
        3
    v2survive  
       Mar 22, 2022 via Android
    Ctrl+o Ctrl+o 打开本地文件,
    (Ctrl+k) Ctrl+o Ctrl+k Ctrl+o 打开本地文件夹。
    ScepterZ
        4
    ScepterZ  
       Mar 22, 2022
    remote 是关联到整个窗口上的,你再开个本地窗口就行了
    tisswb
        5
    tisswb  
       Mar 22, 2022
    这样会慢很多的,相当于跨文件系统访问
    uni
        6
    uni  
       Mar 22, 2022
    我都是配置两套 py 环境的,wsl 里一套本机一套,一般都只用本机的……
    ncepuzs
        7
    ncepuzs  
       Mar 22, 2022
    主机的硬盘分区挂载在 /mnt 下,但不推荐这样用,会有 I/O 性能问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5794 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 08:39 · PVG 16:39 · LAX 01:39 · JFK 04:39
    ♥ Do have faith in what you're doing.