07-10-2018, 01:21 PM
I came across a Python 3 tutorial for displaying a monthly calendar and it worked a treat from the command-line but for some reason it would not work after i added the Python shebang Instead it would produce a load of errors. Have since been informed that i had to change the file name from calendar.py to my_calendar.py and once again it worked a treat.
Still cannot work it out why the program didn't work because 'calendar' is not a reserved word?
Code:
#!/usr/bin/env python 3.6.
Still cannot work it out why the program didn't work because 'calendar' is not a reserved word?
Old and getting even older lol