[9일차] MySQL + PYTHON
import pymysql def task1(): conn = pymysql.connect(host='127.0.0.1', user='gyuwon', password='1234',db='sakila', charset='utf8mb4') con,cur,row =None,None,None film_id, title, description, release_year, language, category ="","","","","","" cur = conn.cursor() user_input_category = input("카테고리를 입력하세요.\n") my_sql_input_category = "'" + user_input_category + "'" find_move_by_category_query = "sele..
2022. 7. 1.