datou0412 / WorkSpace-Python

My Python WorkSpace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WorkSpace-Python

nku2db.py

Curriculum information is on a NKU's website 

NKU website

There are totaly 140 pages
On each page the are 20 lines information of curriculum
We have a local MySQL database called nku.db with one table called 'class' in it
There are 6 keys in 'class' named as follows:

b_name (building name)
r_name (room name)
week_start (start week of a class)
week_end (end week of a class)
day_num (mon, tue, ... == 1,2,3,4,5,6,7)
day_time (1/2,3/4,5/6,7/8,9/10,11/12 == 1,2,3,4,5,6)

We would like to download the information into nku.db

About

My Python WorkSpace


Languages

Language:Python 100.0%