omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    Speech Recognition failed

    Pythonista
    6
    69
    17512
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Python567
      Python567 last edited by

      @cvp ok, but what have I to import for that?

      cvp 1 Reply Last reply Reply Quote 0
      • cvp
        cvp @Python567 last edited by cvp

        @Python567 some posts above,(4 hours ago), you have a full script with the imports....

        1 Reply Last reply Reply Quote 0
        • Python567
          Python567 last edited by Python567

          @cvp that?:

          import datetime
          from objc_util import *
          cvp 1 Reply Last reply Reply Quote 0
          • cvp
            cvp @Python567 last edited by

            @Python567 yes, plus these lines once at begin of script

            NSDateFormatter = ObjCClass('NSDateFormatter')
            dateFormatter = NSDateFormatter.alloc().init()
            
            NSLocale = ObjCClass('NSLocale')
            deLocale = NSLocale.alloc().initWithLocaleIdentifier_(ns('de'))
            dateFormatter.setLocale_(deLocale)
            
            NSDate = ObjCClass('NSDate')
            date = NSDate.alloc().init()
            
            1 Reply Last reply Reply Quote 0
            • Python567
              Python567 last edited by

              @cvp ok. I found a code with the name email, is it possible to send an email with pythonista?

              cvp 1 Reply Last reply Reply Quote 0
              • cvp
                cvp @Python567 last edited by cvp

                @Python567 yes, the doc shows à functional example

                1 Reply Last reply Reply Quote 0
                • Python567
                  Python567 last edited by

                  @cvp really cool, can you send me the doc?

                  cvp 1 Reply Last reply Reply Quote 0
                  • cvp
                    cvp @Python567 last edited by cvp

                    @Python567 the doc is internal to Pythonista. Search on smtplib

                    Swipe to left to display console, you see above a ? in a circle, tap it.
                    You get the doc and you have a search field that appears. Type smtplib and enter....
                    And read

                    1 Reply Last reply Reply Quote 0
                    • Python567
                      Python567 last edited by

                      @cvp great, thanks

                      1 Reply Last reply Reply Quote 0
                      • Python567
                        Python567 last edited by

                        @cvp by the way, can I change my Pythonista skript into a microsoft teams bot?

                        cvp 1 Reply Last reply Reply Quote 0
                        • cvp
                          cvp @Python567 last edited by

                          @Python567 no idea at all

                          1 Reply Last reply Reply Quote 0
                          • Python567
                            Python567 last edited by

                            @cvp ok, maybe an other guy can help

                            1 Reply Last reply Reply Quote 0
                            • Python567
                              Python567 last edited by

                              @cvp if that‘s not possible, can I create an apk file?

                              cvp 1 Reply Last reply Reply Quote 0
                              • cvp
                                cvp @Python567 last edited by

                                @Python567 I suppose you can't but, sincerely, I don't have any skill about Android.

                                1 Reply Last reply Reply Quote 0
                                • Python567
                                  Python567 last edited by

                                  @cvp ok, and for ios?

                                  cvp 1 Reply Last reply Reply Quote 0
                                  • cvp
                                    cvp @Python567 last edited by

                                    @Python567 if your question is still relative to a teams bot, I can't help at all.

                                    1 Reply Last reply Reply Quote 0
                                    • Python567
                                      Python567 last edited by

                                      @cvp No that‘s an other question, nothing with teams bots. I ask because I found a video on youtube who somebody have his own app on the home screen (but it‘s not already in the Apple Store!) and I don‘t know how to do that, I found something in the internet but that‘s only with apk, but the youtuber has ios.

                                      cvp 1 Reply Last reply Reply Quote 0
                                      • cvp
                                        cvp @Python567 last edited by

                                        @Python567 there are not so much solutions in iOS.
                                        Either you develop your own app on your Mac and you can put it on the Home Screen, even without putting it on the App Store.
                                        Either you develop, thanks to an app like Pythonista (or Pyto), and you can put your own icon on the Home Screen, and you tap the icon, for instance, you launch a shortcut which launch Pythonista and runs your Python script.

                                        1 Reply Last reply Reply Quote 0
                                        • Python567
                                          Python567 last edited by Python567

                                          @cvp Do I really need a Mac for that, because I haven‘t got one

                                          cvp 1 Reply Last reply Reply Quote 0
                                          • cvp
                                            cvp @Python567 last edited by

                                            @Python567 if you want to write a real app, yes you need a Mac.
                                            But, I think you can develop almost all with Pythonista.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB Forums | Contributors