`script_code` does the reverse of `script_name`: it takes a long script name and returns a 4-letter script code. Both `script_name` and `script_code` raise KeyError by default, but can optionally return a default value instead.
`script_code` does the reverse of `script_name`: it takes a long script name and returns a 4-letter script code. Both `script_name` and `script_code` raise KeyError by default, but can optionally return a default value instead.