-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
  • 10,692
  • 3
  • 31
  • 47

1 Answers1

-1

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