PEP ? os.listdir enhancement

Riccardo Galli riccardo_cut1 at cut2_sideralis.net
Thu Jun 23 08:50:12 EDT 2005


On Thu, 23 Jun 2005 13:25:06 +0200, Daniel Dittmar wrote:

> He probably meant that a 'join' option would be more natural than an 'abs'
> option. After all, your examples use os.path.join to create a valid path
> that can be used as the argument to other module os functions. Whether the
> results are absolute or relative should depend on the initial argument to
> os.listdir.
> 
> Daniel

I got the point, and you're right. I didn't though about that and 'abs' as
keyword becomes nonsense. Needing a more general kewyword, as pointed out
by Peter Otten


-- 
Riccardo Galli
Sideralis Programs
http://www.sideralis.net



More information about the Python-list mailing list