omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. mikashkin

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 9
    • Best 2
    • Controversial 0
    • Groups 0

    mikashkin

    @mikashkin

    3
    Reputation
    822
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    mikashkin Unfollow Follow

    Best posts made by mikashkin

    • RE: Wish list for next release

      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
      mikashkin
      mikashkin
    • How to detect retina display

      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
      mikashkin
      mikashkin

    Latest posts made by mikashkin

    • RE: Pythonista and Pycharm

      Modules are available in XCode project template.

      posted in Pythonista
      mikashkin
      mikashkin
    • RE: Trigger crash

      Everything ok for me.

      posted in Pythonista
      mikashkin
      mikashkin
    • RE: How to recording voice and stream process

      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
      mikashkin
      mikashkin
    • RE: file sharing

      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
      mikashkin
      mikashkin
    • RE: How to recording voice and stream process

      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
      mikashkin
      mikashkin
    • How to detect retina display

      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
      mikashkin
      mikashkin
    • RE: Pythonista 3

      @cook thank you for clarification.

      posted in Pythonista
      mikashkin
      mikashkin
    • RE: Python console in the Today widget

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

      posted in Pythonista
      mikashkin
      mikashkin
    • RE: Wish list for next release

      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
      mikashkin
      mikashkin