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

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -