so that the aged timeout is set correctly.
for dataSource in dataSourceList:
print 'DataSource: %s' % dataSource
time.sleep(5)
DataSource: "
DataSource: F
DataSource: a
DataSource: c
DataSource: e
Thank you,
--
Shawn Ma
result set into dictionary
"Shawn Matlock" wrote
> I am trying to put the results of a MySQL query into a dictionary.
> It fails because it includes the Unicode delimiter - "u'somevalue'".
I don't think so...
> envsql = "select envVariable, e
Let's see if I can ask the right questions the right way. I am trying to put
the results of a MySQL query into a dictionary. It fails because it includes
the Unicode delimiter - "u'somevalue'". Can someone tell me the right way to do
this, please?
Thank you,
Shawn
csdbConn = zxJDBC.connec
I am able to successfully query a MySQL database using zxJDBC but the result
set seems odd to me. It returns the following:
[(u'envDB', u'systest2'), (u'envDir', u'st2'), (u'envCellName',
u'Systest2Cell'), (u'envFrontEnd', u'systest2FrontEnd'), (u'envTag',
u'system_test2')]
Why is there a "u"
t;select all" before pasting the code back.
Thank you for the explanation.
Shawn
-Original Message-
From: Evert Rol [mailto:evert@gmail.com]
Sent: Thursday, October 07, 2010 12:34 PM
To: Shawn Matlock
Cc: tutor@python.org
Subject: Re: [Tutor] Non-ASCII
> I'm going thro
Hello,
I'm going through an online tutorial for Jython (www.jython.org). I can't find
a place to ask a question on that site so I thought I'd try here. I believe the
code is supposed to traverse a directory, identifying file types. The script is
failing with the following message:
File "", l