The case of the supersized shebang
The case of the supersized shebang
Posted Feb 19, 2019 16:16 UTC (Tue) by tux3 (subscriber, #101245)In reply to: The case of the supersized shebang by smurf
Parent article: The case of the supersized shebang
Experimentaly "from __future import ..." seems to work fine with a #!, or even random comments before.
It seems python is happy as long as it's the first line actually executed, though the error message is confusing.
It seems python is happy as long as it's the first line actually executed, though the error message is confusing.
Posted Feb 19, 2019 16:17 UTC (Tue)
by tux3 (subscriber, #101245)
[Link]
The case of the supersized shebang
Oh I just realized what message you were replying to, my mistake.