Default location while open an Excel file

J. Clifford Dyer jcd at sdf.lonestar.org
Tue Oct 24 11:25:58 EDT 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