python学习
This commit is contained in:
32
venv/Scripts/activate.bat
Normal file
32
venv/Scripts/activate.bat
Normal file
@@ -0,0 +1,32 @@
|
||||
@echo off
|
||||
|
||||
set "VIRTUAL_ENV=D:\order\venv"
|
||||
|
||||
|
||||
|
||||
if not defined PROMPT (
|
||||
|
||||
set "PROMPT=$P$G"
|
||||
|
||||
)
|
||||
|
||||
|
||||
|
||||
if defined _OLD_VIRTUAL_PROMPT (
|
||||
|
||||
set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
|
||||
|
||||
)
|
||||
|
||||
|
||||
|
||||
if defined _OLD_VIRTUAL_PYTHONHOME (
|
||||
|
||||
set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
|
||||
|
||||
)
|
||||
|
||||
|
||||
|
||||
set "_OLD_VIRTUAL_PROMPT=%PROMPT%"
|
||||
|
||||
Reference in New Issue
Block a user