|
|
Subscribe / Log in / New account

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.


to post comments

The case of the supersized shebang

Posted Feb 19, 2019 16:17 UTC (Tue) by tux3 (subscriber, #101245) [Link]

Oh I just realized what message you were replying to, my mistake.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds