现在通用的日历格式是 iCalendar,通常扩展名是 .ics
BEGIN:VCALENDAR #日历开始
import pandas as pd | |
import sys | |
if __name__ == '__main__': | |
df = pd.read_csv(sys.argv[1]) | |
new = df[['Start time', 'End time', 'Description', 'Project', 'Duration']] | |
new.to_html('time_entries.html') | |
.markdown-here-wrapper { | |
font-size: 16px; | |
line-height: 1.8em; | |
letter-spacing: 0.1em; | |
} | |
pre, code { | |
font-size: 14px; | |
font-family: Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace; |