Cannot get past this string related issue

Tim Golden mail at timgolden.me.uk
Tue Apr 26 15:55:17 CEST 2011


On 26/04/2011 14:48, Oltmans wrote:
> Greetings, I hope you're doing well. I'm stuck in a strange issue,
> most likely due to my own ignorance. I'm reading a config file using
> ConfigParser module and passing database related info to _mssql.

[ ... ]

> Config file looks like following
>
> [DB_INFO]
> server = "server"
> database = "database"
> user = "user"
> password = "password"


A config file isn't a Python file: you don't need (and
don't want) double-quotes around those values.

TJG



More information about the Python-list mailing list