How to get current path of exported .exe file in OS file system

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Michael721

Hello!

Is possible to somehow get current location (path) in OS file system?
Something like C:\User\UserName\Desktop\MyProject.exe

Thanks, Have a nice day!

:bust_in_silhouette: Reply From: Mxt08

Exists a OS function for that yoiu want:

OS.get_executable_path