You can set files/folders attributes with scripts:
import os path = './Examples' for root, dirs, files in os.walk(path): for momo in dirs: os.chmod(os.path.join(root, momo), 0o555) for momo in files: os.chmod(os.path.join(root, momo), 0o555)
But I am not sure if you can prevent other scripts from modifying it.
I am trying do make a notebook in pythonista, with the existing editor and objc_utils.
I wonder that is it possible to custom the copy/paste menu(the menu that pop up when selecting texts in editor), so that I can add more buttons/scripts there? I have searched in forum but only find way to custom tool buttons or shortcut buttons.