This scirpt can export simple ics
file by inputting schedules which will be repeated every week.
-
put
input.txt
on current directory. -
run below
python main.py
- export
output.ics
[開講曜日::string(*曜日)]/[時限::int]/[講義名::string]
also [時限] corresponds to the following table.
時限 | 時間(UTC+9) |
---|---|
1 | 08:50~10:20 |
2 | 10:30~12:00 |
3 | 13:00~14:30 |
4 | 14:40~16:10 |
5 | 16:15~17:45 |
6 | 17:55~19:25 |
7 | 19:35~22:05 |
This setting can be changed by editting timeschedule_dictionary
in script.
Defalt setting is
RRULE:FREQ=WEEKLY;BYDAY={weekday_integer};COUNT=16\n
It means "The class opened on weekday
is repeated COUNT
times".
If you need to change, you will edit this code.
Following references may help you at that time.