for user input, a replace might be the solution, using / in internal code Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ Use forward slashes instead of backslashes for all paths. > > os.chdir('D:/Projects/Initiatives/machine learning/programs') > > ChrisA > -- > https://mail.python.org/mailman/listinfo/python-list >