Recently a friend showed me a unix C program calender that behaves differently depending on if you run the program as
cal
or CAL
. Uppercase shows the calender in one orientation, and lowercase flips it. Python can also detect if the script name is upper or lowercase. Here's a dry example:
> python PASSING.py PASSING is uppercase > python passing.py passing is lowercaseI think this is pretty neat.