Home > Notes > pymysql

Python Select Static

Python Select Static

Python Select Static Operation

The Below shows the Operation For Select in static manner.

conn = pymysql.connect(
        host='localhost',
        user='root',
        password="12345",
        db='sakila',
 )
 #print(conn)
 cur = conn.cursor()
 #print(cur)
 string_Query = "select * from olympix_data_organized"
 op_res = cur.execute(string_Query)
 print(op_res)