SMALLp <[EMAIL PROTECTED]> wrote: > >Thanks! I've already figured it out from first reply. Now i get selected >directory and i want to get all directories from thin directory. I found >os.listdir but it oly gets names of files and i nedd output with >permisions e.g. -rw-r--r-- 1 pofuk pofuk 105 2007-12-19 21:59 login.py
Do you want to KNOW the permissions, or do you really want to get the output of "ls -l"? What you probably want is os.walk. You can call stat or os.path.isdir to get information about the files you discover. -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list