I have a question and I need it's naswer.
I am new begginer with Phyton, and I would like to know how I get from table that located in DB (Oracle), a specific value into my Phyon varaiable.

Say I need to get from table in DB named "W_Keys" that have 2 columns: Key column and String Column.
I would like to get the string where Key = 4, i.e: by SQL command I shoud preform the syntax as follwed:

Select string from W_Keys where key =4 .
How Can I perform by Phyton this command and keep the answer in varaible of Phyton ?