Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4042

Re: Cannot get past this string related issue

Date 2011-04-26 14:55 +0100
From Tim Golden <mail@timgolden.me.uk>
Subject Re: Cannot get past this string related issue
References <11f9b43e-3c47-4a68-a7a6-d1880c30fe2d@x8g2000prh.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.838.1303826169.9059.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Cannot get past this string related issue Oltmans <rolf.oltmans@gmail.com> - 2011-04-26 06:48 -0700
  Re: Cannot get past this string related issue Tim Golden <mail@timgolden.me.uk> - 2011-04-26 14:55 +0100
  Re: Cannot get past this string related issue Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2011-04-26 16:39 +0200
    Re: Cannot get past this string related issue Oltmans <rolf.oltmans@gmail.com> - 2011-04-26 08:06 -0700

csiph-web