i am learning python and creating a database connection. while trying to add to the db, i am thinking of creating tuples out of information and then add them to the db.
WHAT I AM DOING: i am taking info from the user and store them in variables. can i add these variables into a tuple? can you please help me with the syntax?
also if there is an efficient way of doing this, please share...
thanks a lot.
EDIT Let me edit this question a bit...I only need the tuple to enter info into the DB. once the info is added to the DB, should I delete the tuple? i mean i dont need the tuple anymore.