from selenium import webdriver
import pymysql
import time


#browser=webdriver.Chrome()
#browser.maximize_window()
#
#url="https://search.naver.com/search.naver?where=nexearch&sm=top_hty&fbm=1&ie=utf8&query=%EB%84%A4%EC%9D%B4%EB%B2%84+%ED%95%AD%EA%B3%B5%EA%B6%8C"
#browser.get(url)
#time.sleep(2)
#browser.find_elements_by_class_name("sp_flight.flight_btn_txt")[0].click()


#year=2010
#month=1
#place='강원도%'
#con = pymysql.connect(host="127.0.0.1" ,user="root" ,password="1234" ,db="site",charset="utf8")
#cur = con.cursor()
#sql = "SELECT * FROM datas WHERE yea=%s and mont=%s and dep LIKE %s"
#cur.execute(sql,(year,month,place))
#row = cur.fetchall()
#print(row)

#dic={}
#row=(('xlxlxl','a','b','c'),('dldldld','q','w','e'),)
#for i in row:
#    dic[i[0]]=[i[1],i[2],i[3]]
#    
#print(dic)
#
#for i in dic:
#    print(i)
#    for j in dic.get(i):
#        print(j)
#
#
#
#
#total=[[] for _ in range(5)]
#print(total)



place='pa'
year=2345
month=1
total='Ok'

if month != '' and place != '' and year != '':
    print(total)
    print(bool(place))
    

import random


row =list((('dd',),('aa'),('rrr'),('ggg')))
shu=random.shuffle(row)
print(shu)










