"Gonnasi" <[EMAIL PROTECTED]> wrote:

> With
> >glob.glob("*")
>
> or
> >os.listdir(cwd)
>
> I can get a combined file list with directory list, but I just wanna a
> bare file list, no directory list. How to get it?
>
> Tons of thanks in advance!
>
> Gonnasi

Using the path module (http://www.jorendorff.com/articles/python/path/):

from path import path
path('.').files()

George


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

Reply via email to