Skip to content

Create dynamically insert into table in Python

i am trying to read from some db2 schema all the tables and for those tables to get their columns so i can create dynamically insert into statement My data is stored in a list in this format: where tableName is the name of the table in my schema. So far i read from db catalog all tables and their

Using python 3.6 in new Anaconda Environment

I am creating a new anaconda environment(my first) in Anaconda Navigator. The libraries I intend to use require python 3.6 but from the python packages drop-down list(see screenshot below) I’m only seeing python 3.8. How can I install python 3.6 to anaconda so that it appears in the drop-down list? Answ…

Return value in a python thread

I am new in Python and I want to get the value from a thread. I call the function logica in a thread and that function returns a value I want to know how can I get the value songs because I will use it later in an iter. Comand is a string. I am using the library threading Answer

Can’t locate image on python

I try to locate an image on my screen. But it always shows this – my code- Please help! Answer You can just try to reinstall pyautogui with all dependencies to make sure nothing missing: