File list from listdir or shell?

Thomas Guettler guettli at thomas-guettler.de
Thu May 26 10:05:24 EDT 2005


Am Thu, 26 May 2005 06:31:40 -0700 schrieb qwweeeit:

Hi,

> ls -1 *.py (for the filenames only) or

This can be done with the module "glob" of the standard library.

 HTH,
  Thomas

-- 
Thomas Güttler, http://www.thomas-guettler.de/





More information about the Python-list mailing list