stupid question about os.listdir

Erik Max Francis max at alcyone.com
Fri Jun 27 04:38:24 CEST 2003


Jason Kratz wrote:

> oops.  almost forgot.  if I run interactively in the python
> interpreter
> it works as I expect.  its when doing 'python script.py' from the
> command line that it only uses the current directory.

Never heard of any such thing.  It's likely that your script is not
quite doing what you expect it to.

-- 
   Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
 __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/  \ Heaven and Hell / Is on Earth
\__/  Salt-n-Pepa




More information about the Python-list mailing list