000-example.py 185 B

1234567891011
  1. import pathlib
  2. current = pathlib.Path(__file__).parent
  3. root = current.parent
  4. package = root / pathlib.Path("source")
  5. import sys
  6. sys.path.append(str(package))
  7. import cx_libtranslate