Very useful.

Came across the very problem recently when creating (copying and modifying really) a python script in VScode and then getting an error when the script was ran on a Linux server.

I ended up using the app (dos2unix) referenced in this post – https://askubuntu.com/questions/896860/usr-bin-env-python3-r-no-such-file-or-directory/896880#896880

And your post got me thinking that I should just set the default file ending to LF in VScode – it’s in settings ( ctrl + , ) – Text Editor – Files – Eol – set it to \n

Any issues doing this that you are aware of.

Cheers