Why would a sane person save a Linux .py file in windows....

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Klee

Well-Known Member
Jun 2, 2016
1,289
396
83
So i'm installing a wallet for a new cryptocoin and ran ./wallet.py and it errored out with bla_bla_bla ^M. :mad:

Who ever created this "Linux" program in Windows missed something I learned a couple of decades ago, do not save a unix file in Windows if it needs to be %100 unix friendly.

Just spent the last hour running "dos2unix *.py" command in multiple directorys/subdirectorys and i'm sure there could be a cool script to do that but its past my bedtime so that rules out alot of critical thinking.o_O
 
  • Like
Reactions: pgh5278

cactus

Moderator
Jan 25, 2011
830
75
28
CA
Dev uses only windows and doesn't test linux. VIM shows these in a ton of files I work within a large project. SVN native EOL fixes it. Not sure what the fix in GIT is.