You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The calendar module is not working. I can import the module, but when I try to generate a calendar it fails.
Script:
import calendar
cal = calendar.calendar(2023)
Error message:
brython.min.js:1 Traceback (most recent call last):
File "http://127.0.0.1:5500/a-model.html#__main__", line 3, in <module>
cal = calendar.calendar(2023)
File "VFS.calendar.py", line 389, in formatyear
a(formatstring(names,colwidth,c).rstrip())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "VFS.calendar.py", line 646, in formatstring
return spacing.join(c.center(colwidth)for c in cols)
^^^^^^^^^^^^
AttributeError: 'int' object has no attribute 'join'
The text was updated successfully, but these errors were encountered:
Hello,
The calendar module is not working. I can import the module, but when I try to generate a calendar it fails.
Script:
Error message:
The text was updated successfully, but these errors were encountered: