• omz

    You can also tap and hold the : key on Pythonista's extra keyboard row for an undo option.

    posted in General Discussion read more
  • omz

    @dgelessus Ah, okay, it's sometimes hard to tell because spam bots scrape stackoverflow etc., but there wasn't a link here...

    posted in General Discussion read more
  • omz

    I’m guessing most people who frequent this forum already have Pythonista, but just in case you’ve been holding off, or know someone to gift it to: Pythonista is currently 50% off on the App Store, until Sunday, to celebrate Pi day (3/14).

    https://itunes.apple.com/us/app/pythonista-3/id1085978097?ls=1&mt=8

    If you want to do me a HUGE favor, please go and post a 5-star review on the App Store (scroll down in Pythonista’s settings and tap “Rate Pythonista”) – only if you really like the app, of course, but it helps a lot to have some recent reviews up there, and even just a star rating would be much appreciated. Thanks!

    posted in Pythonista read more
  • omz

    @JonB Yes, I'm using a pregenerated keyword index, though I guess using jedi to extract docstrings could be an interesting option as well, might be more accessible than a script hook.

    posted in Pythonista read more
  • omz

    @cvp That's certainly true (and thanks for the kind words!), and I can definitely see both use cases, but running a script hook would allow you to do that as well, I guess.

    posted in Pythonista read more
  • omz

    @cvp I don't know, I would guess that augmenting the search results with online sources could potentially be more useful, not sure though.

    posted in Pythonista read more
  • omz

    I'm truly impressed by what you've been able to accomplish in such a short amount of time! It might even make sense to provide a built-in hook for this kind of thing, not quite sure yet about the implications.

    posted in Pythonista read more
  • omz

    I'm not sure, but could you try launching Pythonista in "Safe Mode"? You can enable this in the Settings app (search for Pythonista there).

    posted in General Discussion read more
  • omz

    If you're currently viewing the file browser, you have to swipe left twice to get to the interactive prompt, but make sure that you swipe anywhere except on the keyboard.

    With an external keyboard, you can also get to the prompt by pressing Cmd+J, maybe followed by Cmd+Return (in case the keyboard isn't already active in the editor).

    posted in Pythonista read more
  • omz

    Pythonista supports split-screen multi-tasking on most iPads (if it’s not a very old one), and of course only if whatever app you’re using to read the book also supports it. Having multiple Pythonista “windows” is currently not supported, but you wouldn’t need that to put an eBook next to Pythonista.

    posted in General Discussion read more
  • omz

    Please make sure that you have Full Access enabled for the Pythonista keyboard in the Settings app. Otherwise, there is no way for the keyboard and the app to share any files (because that could theoretically be abused to transfer input data over the network, so you basically need to "trust" the keyboard to enable these things).

    posted in Pythonista read more
  • omz

    For debugging widgets, you could e.g. write log files that you would read in the main app.

    One general tip for widgets: In case you use webbrowser.open() in your widget, try removing the webbrowser import and use import shortcuts; shortcuts.open_url(...) instead. It's more efficient.

    posted in Pythonista read more
  • omz

    Not really... To be honest, if I could remove that feature without annoying a bunch of people, I probably would. Today widgets are just so extremely limited in memory that even just running the interpreter pushes it almost to its limits, and it becomes extremely likely that user scripts run into memory limitations very quickly... This is much less of an issue in Pythonista's other app extensions (the custom keyboard and share sheet) as those types of extensions get a more comfortable amount of RAM to work with.

    posted in Pythonista read more
  • omz

    Cool, I had never heard of Sherlock before, and haven't tried your port yet, but it looks like an interesting use case for Pythonista. 👍

    posted in Pythonista read more
  • omz

    @cvp I'm quite impressed by your reverse engineering skills. Very clever! 👍

    posted in Pythonista read more
  • omz

    @cvp, I would not be surprised if Pythonista is simply not set up for Face ID:

    Yes, I think that is the problem. I've considered adding a NSFaceIDUsageDescription, but I wasn't sure if Apple might have an issue with it because Pythonista doesn't really use FaceID if you don't access it via ObjC (same is true for some other things I've put in the Info.plist though, so I might still just do it in the next update).

    posted in Pythonista read more
  • omz

    @kelseik This looks like a bug in Pythonista, I'll investigate. Thanks!

    posted in Pythonista read more
  • omz

    Could you try just removing your own markdown module (and restart Pythonista)?

    Pythonista has a built-in markdown module, so perhaps there's a conflict with that. I just tried using extensions=['markdown.extensions.extra'] using the built-in module, and it seemed to work fine.

    posted in Pythonista read more
  • omz

    Could have something to do with the fact that 3.3 is built with the iOS 13 SDK.

    posted in Pythonista read more
  • omz

    Looks to be some kind of internal bug in objc_util, though I don’t have an explanation right now.

    posted in Pythonista read more
Internal error.

Oops! Looks like something went wrong!