파이썬으로 로또당첨번호 수집하기
from urllib.request import urlopen from bs4 import BeautifulSoup import ssl import datetime import sys import pandas as pd from IPython.display import display import os def main(base_dir) : dir = base_dir print(dir) if os.path.exists('%s/lotto.csv' %dir) : df = pd.read_csv('%s/lotto.csv' %dir, index_col=0,parse_dates=['날짜']) last_turn = df['회차'].max() #print(last_turn) else : df = pd.DataFrame(c..
2019.10.29