Default location while open an Excel file

J. Clifford Dyer jcd at sdf.lonestar.org
Tue Oct 24 17:25:58 CEST 2006


Try this:

 >>> import os
 >>> os.getcwd()
'C:\\Python24'

I ran it from the interpreter.  Dunno what it does from a script in an 
arbitrary location.  YMMV.

Cheers,
Cliff




More information about the Python-list mailing list