• mithrendal

    @Blanchot So true.

    @mikael your new job colleagues will be very happy as they get a high skilled and very talented work mate with you!!! Wish you a happy time on your new journey.

    posted in Pythonista read more
  • mithrendal

    Hello Ole,
    I am back on the app store version again. Why not just release the last beta to the app store? It was pretty stable. Come on don't be shy and just push the button !

    ;-)

    posted in Pythonista read more
  • mithrendal

    I like the intuitive and simplistic API approach as always when mikael comes out with a new thing ;-) Next time I have a need for parallel execution in my code I will definitly come back to genr ...

    posted in Pythonista read more
  • mithrendal

    I understand that seems plausible. Then we have got this bug because @omz built the 330018 with a new version of XCode ... Do you think he should apply for an exception to the rule as pointed out in your linked article then ? Maybe Apple won't give him and us this exception...

    posted in Pythonista read more
  • mithrendal

    the official example still works with the 330015 and with the appstore version on iOS13.2. Therefore definitly a new problem introduced with 330018.

    posted in Pythonista read more
  • mithrendal

    the example from the official documentation http://omz-software.com/pythonista/docs/ios/contacts.html
    does not work anymore in this build. It just stops on line 6 without an error.

    The problem is the access to the "note" property.

    import contacts
    print('Address Book Notes')
    print('=' * 40)
    people = contacts.get_all_people()
    for p in people:
      note = p.note
      if note:
        print(p.full_name)
        print('-' * 40)
        print(note)
        print('=' * 40)
    

    the following version without access to the contact notes work as in the older builds... so it has nothing todo with permissions to the contacts in general...

    import contacts
    print('Address Book Notes')
    print('=' * 40)
    people = contacts.get_all_people()
    for p in people:
      print(p.full_name)
      print('-' * 40)
      print('=' * 40)
    

    posted in Pythonista read more
  • mithrendal

    You could also use apples MFMessageComposeViewController. With that your program can automatically create a encoded message and put that onto apple messages to a receipient of your choice. The base64 encoded message databody should be prefixed with pythonista://nameofyourpyprogram?action=run&args=.... So that the Receiver just taps on the incoming message and jumps into your app. I wrote a mini tictoc app for fun which uses this method to asynchronously play with a friend. if you tell me that you want to go that direction, I could upload the example to github for you.

    posted in Pythonista read more
  • mithrendal

    If you do not see the iCloud Symbol in pythonista under

    Script Library

    • This iPhone/iPad
    • iCloud (<- if you do not see this)

    or if your iCloud drive does not contain a folder for pythonista when you want to setup the sync in working copy.

    Then just head over to the ios settings and choose iCloud and enable pythonista to be able to use the iCloud.

    posted in Pythonista read more
  • mithrendal

    Until iOS13 you could simply open the working copy folder in pythonista as an external folder. This is not possible in iOS 13 with the current version of pythonisa since apple altered the document picker API for folders. See the two threads https://forum.omz-software.com/topic/5817/can-t-add-external-folder-from-working-copy-via-files-app-folders-are-not-selectable-all-folders-inside-files-app-popup and https://forum.omz-software.com/topic/5843/ios-13 for a temporary solution ... We hope that the developer @omz will adapt the new release which is currently in the beta for that new iOS13 documentpicker folder API though.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!