Introduced a Cython-based setup to compile Python files for performance improvements. Updated installer scripts with customtkinter modifications for better UI, added support for additional content loading, and enhanced project structure. Adjusted build commands, streamlined file paths, and integrated new UI elements in the HTML resources.
16 lines
333 B
Python
16 lines
333 B
Python
import sys
|
|
import os
|
|
|
|
# Pfad zu deinem `cython`-Ordner
|
|
cython_dir = os.path.abspath("./cython")
|
|
|
|
# Ordner zum Python-Suchpfad hinzufügen
|
|
if cython_dir not in sys.path:
|
|
sys.path.insert(0, cython_dir)
|
|
|
|
# Importiere die `main.pyd`-Datei
|
|
import main
|
|
|
|
if __name__ == "__main__":
|
|
main.run() # Beispiel: Funktion `run()` aufrufen
|