On 11 Nov 2005 22:00:04 GMT, Michael Konrad wrote:

> Richard Townsend <[EMAIL PROTECTED]> wrote:
>  
>> On 11 Nov 2005 21:20:33 GMT, SU News Server wrote:
>> 
>> Try passing the full pathname of each item to os.path.isdir()
>> 
>> You can create the pathname using os.path.join(directory, x)
>> 
>> 
>> 
> 
> I wonder if I can join ./, so I don't have the full path in each 
> entry?
> 
> Thank you for responding.
> _Michael

Why not assign the os.path.join() result to a new variable, pass that to
os.path.isdir() but still append x to the list?


-- 
Richard
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to