LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
displaying a monthly calendar
#1
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
Code:
#!/usr/bin/env python 3.6.
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? 
Old and getting even older lol
Reply


Messages In This Thread
displaying a monthly calendar - by colin - 07-10-2018, 01:21 PM
Re: displaying a monthly calendar - by colin - 07-10-2018, 04:04 PM
Re: displaying a monthly calendar - by colin - 07-11-2018, 11:55 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)