• momorprods

    Thanks a lot, this seems to help a lot. 👍

    posted in Pythonista read more
  • momorprods

    Greetings incredible community!

    After migrating my iPhone to iOS15 I noticed a few issues with my Pythonista-made apps. Weird SceneView behaviours, but more critical - some random freeze when running some of the console functions.

    As a basic illustration, the code below freezes randomly (about 1 freeze every 3-4 attempts when I hit the « close » button (the popup does not display upon freeze)

    import ui
    import console
    
    def button_action(sender):
        global view
        #view.close()
        q=console.alert('Confirm Close ?','So you want to close this view? So you want to close this view?So you want to close this view? ','OK')
        if q==1:
            view.close()
        
    button = ui.Button(title='Close',action=button_action)
    button.y = 100
    
    view = ui.View()
    view.add_subview(button)
    view.present() 
    

    Of course this didn’t occur right before my iOS update. Do you also have this kind of random problem?

    Thks!

    posted in Pythonista read more
  • momorprods

    @cvp thanks a lot, this works great. You’re so fast! 👍🙏

    posted in Pythonista read more
  • momorprods

    Greetings, I’m currently experimenting CoreML using the template @omz made some while ago. I’m trying to run the DeepLabV3 model, which returns an image as an output. More precisely : a MLMultiArray Int32 513 x513 Matrix.

    And so far I didn’t manage to find a trick to transform this into a PIL image.

    Did someone already tried this?

    Thanks!

    posted in Pythonista read more
  • momorprods

    In a world where Pythonista would be actively maintained by @omz I would be 100% for it. But at this stage, even the XCode template is not up-to-date, and unfortunately we don’t know if Pythonista will still be available in the App Store in a few months. So, sadly, I think your audience might be disappointed at some point.

    Game creation is a hard and long process, I wouldn’t recommend anyone who would want to learn & invest time on that topic to use Pythonista, only because the app could vanish tomorrow. Or in 1 year. We don’t know. Sadly.

    That’s a pitty. I really think Pythonista would really do the job on game development. It’s far better than any alternative so far - including Codea. I’ve been working during my spare time on an adventure game generator, and found no limit in this task.

    posted in Pythonista read more
  • momorprods

    @RomSpy actually your template works well with today’s XCode & latest iOS 14. I only had to on/off the Workspace checking in the build settings, and that’s it. Thanks!

    posted in Pythonista read more
  • momorprods

    @cvp ah ah well looks like I’m screwed. Let’s hope @omz will at least maintain his iOS dev subscription - so that the app stays live on the store as long as possible.

    posted in Pythonista read more
  • momorprods

    @ccc any idea about how to convert ui-based app to Pyto ? it’s probably one of the worst case scenario no?

    posted in Pythonista read more
  • momorprods

    Nooo, seriously is that happening? @omz please let us know. Pythonista is a gem of the App Store, and one of the best learning tool I’ve used - perfect also for kids code learning. It should go into schools. I really hope you’ll find a way to maintain it. 🤞

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!