view Sphinx/source/plugins/python/venv-windows.py @ 1152:730fd5c08b0b

python streaming
author Alain Mazy <am@orthanc.team>
date Thu, 24 Apr 2025 14:40:39 +0200
parents 868552e0caf8
children
line wrap: on
line source

import orthanc
import sys

print("sys.path before modification: " + ", ".join(sys.path))

sys.path.insert(0, "C:/tmp/.venv/Lib/site-packages")

print("sys.path after modification: " + ", ".join(sys.path))

import requests
# ....