Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Python/Sympy/bin/     Datei vom 6.10.2026 mit Größe 414 B image not shown  

Quelle  get_sympy.py   Sprache: Python

 

"""Functions to get the correct sympy version to run tests."""

from __future__ import print_function

import os
import sys


def path_hack():
    """
    Hack sys.path to import correct (local) sympy.
    "
""
    this_file = os.path.abspath(__file__)
    sympy_dir = os.path.join(os.path.dirname(this_file), "..")
    sympy_dir = os.path.normpath(sympy_dir)
    sys.path.insert(0, sympy_dir)
    return sympy_dir

Messung
CHZG
849110091

¤ Dauer der Verarbeitung: 0.13 Sekunden  ¤

*© Formatika GbR, Deutschland