0

I want to make a program to get course information from my college website, then generate a .xlsx for print use and a .ics so that I can import it into Apple Calendar. https://github.com/civilix/WasedaClassSchedule

I had only been learning python for a week when I wrote main.py, so it may seem naive. But it does work properly and can generate an xlsx file. I've now written another ics.py and tried to call it in the main.py. I only added few lines in the main.py, but now the program will abort here.

import ics
ics.calendar(1,day,period,name,room,fq,sq)

This is a set of parameters actually looks like: (1,1,3,Introductory Statistics A 62,Online,2022-09-28,2022-11-28)

ics.py runs fine on its own, and I also tried to print its arguments and they also seem fine. There are no errors or warnings there, so I'm really confused as to what to do. I know there's an ics module, but it doesn't support repeating events, so I made one by myself.

0 Answers0