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.
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.
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.
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')
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.
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
You can using objc
bindings. Probably outdated example was made by @omz some time ago. You can try this gist Record Audio Pythonista example.
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')
Same for me, I can't find it in available widgets. iPhone 6S, OS version 9.3.2.
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.