You are looking for get_system_path function from SystemLibrary unreal.SystemLibrary — Unreal Python 4.27 (Experimental) documentation
You are looking for get_system_path function from SystemLibrary unreal.SystemLibrary — Unreal Python 4.27 (Experimental) documentation