From: Christopher B. <Chr...@no...> - 2006-04-28 18:54:05
|
John Hunter wrote: > There may be an intelligent way to set the default dir globally for file > dialogs in wx, but I don't know what it is. So I'll suggest a workaround. I don't think there isn't. However, it probably starts out in the current working directory, which you can change with: import os os.chdir("ThePathYouWant") John's solution is better if this is more than a quickie app, however. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |