[Python-Dev] Reading Python source file

Random832 random832 at fastmail.com
Mon Nov 16 23:09:51 EST 2015


MRAB <python at mrabarnett.plus.com> writes:
> As I understand it, *nix expects the shebang to be b'#!',
> which means that the first line should be ASCII-compatible
> (it's possible that the UTF-8 BOM might be present).

The UTF-8 BOM interferes with it on Mac OSX and Linux, at
least.



More information about the Python-Dev mailing list