Change
Save
Saving
Drag and Drop a photo, drag to position, and hit Save

Group Details Private

administrators

Member List

  • omz

    @ProgrammingGo

    In the if statement there is something which is a bit unclear. Does it mean that if p.name is available and SensorTag is in P.name is clear, but why not self.peripheral?

    The example connects to just one SensorTag, and that SensorTag is stored in the self.peripheral attribute, so the if not self.peripheral condition means "ignore this if we already found it". As you want to connect to multiple SensorTags, you'd have to handle this differently, of course.

    @ccc's code from earlier should be a good starting point. You might just need to use UUIDs instead of names, if all your SensorTags have the same name (not sure if they do generally).

    posted in Pythonista read more
  • omz

    @Matteo Here's a simple method to open a folder in the file browser programmatically:

    import webbrowser
    webbrowser.open('pythonista3://Examples')
    

    If your folder name includes characters that aren't allowed in a URL (e.g. spaces), you'll have to percent-encode them using urllib.parse.quote(). If your folder is in iCloud, append ?root=icloud at the end of the URL.

    posted in Pythonista read more
  • omz

    @mithrendal Please try dialogs.pick_document(types=['public.item'])

    posted in Pythonista read more
  • omz

    Your first example works fine for me, after placing the alpha_vantage package in site-packages. Perhaps you have a subtle typo in your script? I noticed that you're using TimesSeries instead of TimeSeries in your second attempt (which would result in an import error).

    posted in Pythonista read more
  • omz

    Pythonista downloads all files in its iCloud folder, so that they're available when you're offline (and also because there isn't a good way to trigger iCloud downloads from scripts that might need the files). There's currently no way to disable this, sorry.

    posted in Pythonista read more
  • omz

    my_text_field.secure = True should do the trick (no idea why this is missing from the docs). If you're using the UI editor, you can enable the "Password Field" switch instead.

    posted in Pythonista read more
  • omz

    I want to prepare a new TestFlight build soon, but it'll still take a little while. @dgelessus is right that the App Store version is currently more recent than the latest beta.

    posted in Pythonista read more
  • omz

    By default, images are not downloaded from Dropbox. You can change this in the advanced Dropbox settings (add additional file extensions like jpg and png), or you could simply tap on the images in the file browser. This will trigger a download as well, and will make the images available in the Markdown preview. I hope this helps.

    posted in Editorial read more
  • omz

    The links should work correctly in the in-app documentation. For reading online, I'd recommend the official matplotlib docs for now.

    posted in Pythonista read more
Internal error.

Oops! Looks like something went wrong!