Reading properties file in Python, except using ConfigParser()

justmailharsh at gmail.com justmailharsh at gmail.com
Mon Oct 8 05:50:37 EDT 2012


On Friday, October 5, 2012 5:03:01 PM UTC+5:30, Günther Dietrich wrote:
> justmailharsh at gmail.com wrote:
> 
> 
> 
> >How to read properties file in Python? I found ConfigParser() but it has a 
> 
> >'section' limitation, so looking for other alternatives.
> 
> 
> 
> Have a look at PyYAML.
> 
> 
> 
> 
> 
> 
> 
> Best regards,
> 
> 
> 
> Günther

Thanks for responding guys. I got the solution from here - 

http://www.daniweb.com/software-development/python/threads/435902/reading-properties-file-in-python-except-using-configparser#

Posting it here for others' benefit..



More information about the Python-list mailing list