import os dir_path = os.path.dirname(os.path.realpath(\'_file_\')) dir_path
\'C:\\Users\\Mr. Caner\'
The file is in C: / Program Files (x86)