paths.py 395 B

1234567891011121314151617181920
  1. import platform
  2. import os
  3. Path_Project = os.getcwd()
  4. Path_FichierAction = f"{Path_Project}/Config/actions.txt"
  5. Path_run = f"{Path_Project}/Run/"
  6. Path_Parent = f"{Path_run}Parent/"
  7. Path_EnEssai = f"{Path_Project}/EnEssai"
  8. def get_os():
  9. if platform.system() == "Windows":
  10. return "windows"
  11. elif platform.system() == "Linux":
  12. return "linux"
  13. else:
  14. return "autre"
  15. SysExploite = get_os()