• dueyfinster

    @JonB said:

    The path is:

    /private/var/mobile/Library/Mobile Documents/iCloud~com~omz-software~Pythonista3/Documents

    @JonB I wasn't talking about Pythonista docs, but rather other iCloud Drive folders. I assumed we'd now have access via path. For example:

    os.listdir('/private/var/mobile/Library/Mobile Documents/iCloud~com~omz-software~Pythonista3/Documents')
    

    will work, but:

    os.listdir('/private/var/mobile/Library/Mobile Documents/Desktop')
    

    will not. It seems to only allow access inside the app's folder. I assumed with iOS11 and Files.app, we could have access to a path on iCloud drive.

    posted in Pythonista read more
  • dueyfinster

    Is it possible with the latest Pythonista to save to an iCloud Drive path?

    I have a script that saves a CSV file from web scraping to Dropbox. I'm wondering if I can replace this with a local iCloud drive path and have it sync?

    icloud_path = '~/iCloud\ Drive/Desktop'
    icloud_file = open(icloud_path,'w')
    

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!