• mikashkin

    Modules are available in XCode project template.

    posted in Pythonista read more
  • mikashkin

    Everything ok for me.

    posted in Pythonista read more
  • mikashkin

    According to Apple documentation:

    NSUrl object represents a URL that can potentially contain the location of a resource on a remote server, the path of a local file on disk, or even an arbitrary piece of encoded data.

    Probably there is some way to bend output to server, or just read file and route stream by yourself.

    posted in Pythonista read more
  • mikashkin

    You can use dropbox to sync files between folder inside Pythonista and your computer since there is built in module and some exists sync examples (if you didn't found yet I can share mine). And then symlink on your desktop same folder to your Google Drive folder. Then you will get sync in both places that will point to one folder on disk on hard drive and both Dropbox and Google Drive clients will do the rest. I know this is looks like a workaround.

    Other solutions will be make Google Drive client by yourself, you can starting with this documentation https://developers.google.com/drive/v3/web/quickstart/python

    posted in Pythonista read more
  • mikashkin

    You can using objc bindings. Probably outdated example was made by @omz some time ago. You can try this gist Record Audio Pythonista example.

    posted in Pythonista read more
  • mikashkin

    Hello,

    Working on the project I found that I need to detect what type of the screen have device that running my code. And made this simple detector. Probaby it is not something big, but for me this is first bites of code that uses objc bindings. Hope you will find it useful

    Grab the gist isretina.py or code

    from objc_util import *
    us = ObjCClass('UIScreen')
    if us.mainScreen().scale() == 2.0:
        print('Retina')
    elif us.mainScreen().scale() == 3.0:
        print('iPhone Plus')
    else:
        print('Non retina')
    

    posted in Pythonista read more
  • mikashkin

    @cook thank you for clarification.

    posted in Pythonista read more
  • mikashkin

    Same for me, I can't find it in available widgets. iPhone 6S, OS version 9.3.2.

    posted in Pythonista read more
  • mikashkin

    I know that it already asked tens of times, and @omz noticed, and know. But I also want to add that I'm interested in scipy scikit-learn pandas modules.

    And thank you for your great work.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!