No, the color_scheme has slashes. but you were splitting backslashes on win, since os.path.split uses os.path.sep for splitting, eg backslash on windows and slash on linux and win