Skip to content

Instantly share code, notes, and snippets.

@twhite96
Created September 14, 2024 00:10
Show Gist options
  • Save twhite96/68808d7fb482c922846fd8ea8ccdfcdd to your computer and use it in GitHub Desktop.
Save twhite96/68808d7fb482c922846fd8ea8ccdfcdd to your computer and use it in GitHub Desktop.
Open calibre python script
import os
path = "/Applications/calibre.app"
flags = os.O_RDONLY
mode = 0o666
os.open(path, flags, mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment