On Fri, Apr 3, 2009 at 3:59 PM, Murali kumar murali...@gmail.com wrote:
Is there anyway to read all my configuration filenames with extension
(.cfg)?
Advanced thanks..
On Fri, Apr 3, 2009 at 3:15 PM, Murali kumar murali...@gmail.com wrote:
hi all,
i want to all my configuration file
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
--
1) Posting the same question multiple times in a 3 hour span
isn't likely to get you anything more than people who get peeved
at your impatience. Take a moment to realize that you posted at
4:00am for my local (CST/CDT) time. That means that, at least
for those of us in the US, you posted