To cut a long story short.
I have this function:
def save_screenshot(self, file_destination, picture_format = None)
file_path_name, file_extension = os.path.splitext(file_destination)
file_path, file_name = os.path.split(file_path_name)
(...)
Now, I call the function like this:
save_screenshot("C:\Temp\picture.jpg", "JPG")
I know howto NOT escape a string in python (with the help of "os.path.join"), but I don't know howto do this, if the string is a function parameter. The function works fine (on a windows), if I write "C:\\Temp\\picture.jpg" or "C:/Temp/picture.jpg".
Would be great, if you have some advice.
thanks