I want to have different behavior in a python script, depending on the type of file. I cannot use the filename extension as it may not be present or misleading. I could call
Probably others as well. "magic" is the magic keyword to search for. ;-)