Does windows edit .py file shebangs?

Abdur-Rahmaan Janhangeer arj.python at gmail.com
Fri Jan 1 12:01:23 EST 2021


Greetings list,

Being a windows user since long, this made
me laugh. Tell me

1/ What version of Python are you running?
2/ What editor/IDE are you using?



Kind Regards,

Abdur-Rahmaan Janhangeer
about <https://compileralchemy.github.io/> | blog
<https://www.pythonkitchen.com>
github <https://github.com/Abdur-RahmaanJ>
Mauritius


On Fri, Jan 1, 2021 at 8:43 PM Barry Scott <barry at barrys-emacs.org> wrote:

> I found python scripts have had their shebang lines edited behind my back.
>
> The shebang line I'm seeing is:
>
>     #!C:\Users\barry\AppData\Local\Microsoft\WindowsApps\python3.EXE
>
> Is this Microsoft being "helpful"?
> Does anyone know what I will have done to best with this "help"?
>
> What do I need to do to prevent this happening?
>
> Barry
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>


More information about the Python-list mailing list