python - I need to remove o rnot include the ',' in my result -


my problem when query database

upperbound.extend(cursor.execute(queryupper, ['sn00010', '2015-05-07 22:16:00.810']).fetchall()) 

where queryupper grabs upper bounds column database , ['sn00010', '2015-05-07 22:16:00.810'] fills in parameters query result list returns

[(15497,), (14957,), (14516,), (14159,), (12164,), (11597,), (11555,), (11513,)] 

i have query lower bounds column , want use range() find range between bounds. problem returning comma (parenthesis don't think matter) need remove each element or somehow not include when list made. im not sure if matters using pypyodbc , mssql server


Comments

Popular posts from this blog

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

javascript - Create websocket without connecting -

sharepoint - Accessing files across a shared directory using a Windows service -