Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~6K People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for jcmeyer

Hello (u'D:\\data\\Example.xml',) I read the above string from a list and pass it to the below query, sql = "DELETE FROM docs WHERE pathVariId = '"+myfile+"'" self.cursor.execute(sql) but I get the error as below sqlite3.OperationalError: near "D": syntax error any suggestions to get rid of that '' which is causing …

Member Avatar for webstart
0
221
Member Avatar for webstart

I have a list as alist = [[], [(u'0.77',)], [(u'0.34',)], [(u'0.12',)], [(u'0',)], [(u'0.0',)], [(u'0',)]] I'm trying to get it as like this [0.77, 0.34, 0.12, 0, 0.0, 0] using the statement rlist= map(lambda a: int(a), alist) but got an error as, TypeError: int() argument must be a string or a …

Member Avatar for vegaseat
0
6K

The End.