Feb-17-2018, 06:02 PM
(Feb-17-2018, 05:30 PM)Gribouillis Wrote: Why not use my code? It is very good. In your code theos.getcwd()
gets the current working directory but it does nothing with it, so you can safely remove this line. Theos.chdir('export')
tries to change the current directory by going to a directory named 'export', but it fails because there is no such directory. Finally thename.get()
in the last statement won't work because the variablename
is not defined. Or may be it is a tkinter variable in your program?
export does exist and the name.get is part of a folder creation system