On Thu, 23 Jun 2005 12:56:08 +0300, Konstantin Veretennicov wrote: > On 6/22/05, Riccardo Galli <[EMAIL PROTECTED]> wrote: > >> I propose to add an 'abs' keyword which would make os.listdir return the >> absolute path of files instead of a relative path. > > What about os.listdir(dir='relative/path', abs=True)? Should listdir call > abspath on results? Should we add another keyword rel? Would it complicate > listdir unnecessarily? > > - kv
keyword dir not exists (don't know if you added as example or not) and abs set to true would return abspath on result. What else could it do ? -- Riccardo Galli Sideralis Programs http://www.sideralis.net -- http://mail.python.org/mailman/listinfo/python-list