If I use tempfile.gettempdir() I receive the path to the Temp directory but the path is written with only small letters:
c:\\users\\test\\appdata\\local\\temp
My problem is that I have a program that work with lists and add exception rules which are case sensitive. I need the path to be written as it's written in the CMD on the computer and if I use os.path.dirname(os.path.abspath())
C:\\Users\\Test\\AppData\\Local\\Temp
Any ideas how this can be achieved?