-5

I need to change the permissions on a file so that it cannot be executable. I still need to be able to read it through open("filename", 'rb'). How can I do this in Python?

Cong Ma
  • 9,922
  • 3
  • 28
  • 46

1 Answers1

-1

change it to a text file a text file can't be executed but read