Skip to main content

All Questions

0 votes
1 answer
57 views

Interact with Pythons' Calendar module

Basically, by using text_cal = calendar.TextCalendar(firstweekday = 0) # printing formatmonth cal = text_cal.formatmonth(correct_year, correct_month, 5) print(cal) which produces this ...
FrogFlex's user avatar
0 votes
2 answers
227 views

Python module manipulation with other modules

I was fooling around with python modules today and i found something interesting; Suppose you have a module like this: # mymodule value = "default" def setVal(new): value = new def getVal(): ...
Relma2's user avatar
  • 108