Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def isIOS ():
  log.debug ("platform.system: {0} platform.machine: {1}".format(platform.system(), platform.machine()))
  return platform.system() == 'Darwin' and platform.machine().startswith('iP')
        


src/g/i/gists.cli-0.351/gists_cli/api.py   gists.cli(Download)
 
GITHUB_API = "https://api.github.com"
HOME_DIR = '~/Documents' if util.isIOS() == True else '~'
HOME = os.path.expanduser(HOME_DIR)
TOKENFILE = '/.gists'                # first line with TOKEN. Checked first.