Mercurial > hg > orthanc-book
view Sphinx/source/plugins/python/venv-windows.py @ 1184:3bae50354314
fix sample python plugin with PIL
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 12 Aug 2025 17:10:22 +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 # ....