Hey scidave, I'm trying to get simple results from the database, right now I'm executing a query and after that I use fetchone() function to get the result, but the result instead to be just a simple string like in the database, have some more digits.. I'll try to explain better with an example:
In a database called 'TEST' there is a username called TESTER
so I execute a query to get this username and put in a Text object in construct.
the result instead to be just "TESTER" is "('TESTER,')" so after the results I need to remove those other things with a strip function.
Now if I get a result from a value in the database, instead to be just the value(4 for example), it comes with "(4L)"..
so this is my question, is there any way I could just get the exact result from a database without those brackets, etc?