set the current working directory to 'c:\\users\\uname\\desktop\\python',os.chdir('c:\\Users\\uname\\desktop\\python')