En Fri, 03 Apr 2009 08:46:17 -0300, Murali kumar <murali...@gmail.com> escribió:

Is there anyway to read all my configuration filenames with extension
(.cfg)?

See the glob module
http://docs.python.org/library/glob.html

glob.glob(os.path.expanduser('~/*.cfg'))

--
Gabriel Genellina

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

Reply via email to