comparison Sphinx/source/plugins/python/venv-windows.py @ 1018:868552e0caf8

python venv
author Alain Mazy <am@osimis.io>
date Thu, 25 Jan 2024 11:33:50 +0100
parents
children
comparison
equal deleted inserted replaced
1017:3f3a1b54a839 1018:868552e0caf8
1 import orthanc
2 import sys
3
4 print("sys.path before modification: " + ", ".join(sys.path))
5
6 sys.path.insert(0, "C:/tmp/.venv/Lib/site-packages")
7
8 print("sys.path after modification: " + ", ".join(sys.path))
9
10 import requests
11 # ....