noydb wrote: > On Dec 11, 9:38 pm, "gudonghua+pyt...@gmail.com" <gudong...@gmail.com> > wrote: [...] > > Thanks! That was simple enough. > > And... > ##os.rename(new91mdb, (os.path.join(output_dir, uChoice))) > os.rename(new91mdb, (os.path.join(output_dir, "C:\TEMP\test1.mdb"))) > > ... of those two lines, the top one worked.
The reason the second one didn't work is because "\t" is the tab character. Look for "raw strings" in the documentation. r"C:\TEMP\test1.mdb" should work. regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ -- http://mail.python.org/mailman/listinfo/python-list