<br><br><div class="gmail_quote">On Fri, Apr 3, 2009 at 3:59 PM, Murali kumar <span dir="ltr"><<a href="mailto:murali.au@gmail.com">murali.au@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there anyway to read all my configuration filenames with extension (.cfg)?<br><br>Advanced thanks..<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Fri, Apr 3, 2009 at 3:15 PM, Murali kumar <span dir="ltr"><<a href="mailto:murali.au@gmail.com" target="_blank">murali.au@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi all,<br><br>i want to all my configuration file names in current/user/home directory.. <br>

<br>for that i came across following function in configparser class..<br>Is it must to specify file names? or only directories enough..<br>
if there anyway to read conf filenames in current/user directory...<br><br><pre><font style="font-family: tahoma,sans-serif;" size="2">config.read(['site.cfg', os.path.expanduser('~/.myapp.cfg')])</font><br>


<br><br><br><br></pre><br>
</blockquote></div><br>
</div></div></blockquote></div><br>