How to check if a file is saved in Windows using python?

Viewed 14

I'm working in linux environment. if a text file is saved in Windows, it will end in ^M

Is there a .... elegent way to check this using python?

0 Answers
Related