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.


    Python 3.x Progress Update

    Pythonista
    56
    395
    526463
    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.
    • dgelessus
      dgelessus last edited by

      @pvanallen You're not the only one, someone else has posted this elsewhere as well, probably in the Slack chat.

      1 Reply Last reply Reply Quote 1
      • omz
        omz last edited by

        @farscapeone Thanks, I'll look into it.

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

          1. The following fails in python 3 ( works in py2). This causes doctests to fail
          >>> import editor
          >>> editor.annotate_line(2)
          Traceback (most recent call last):
            File "_ctypes/callbacks.c", line 234, in 'calling callback function'
            File "/var/mobile/Containers/Bundle/Application/94901C8E-7046-48FC-9BBC-5018FEB83CBF/Pythonista3.app/Frameworks/PythonistaKit3.framework/pylib/site-packages/objc_util.py", line 885, in OMMainThreadDispatcher_invoke_imp
              retval = func(*args, **kwargs)
            File "/var/mobile/Containers/Bundle/Application/94901C8E-7046-48FC-9BBC-5018FEB83CBF/Pythonista3.app/Frameworks/PythonistaKit3.framework/pylib/site-packages/editor.py", line 226, in annotate_line
              filename = os.path.abspath(filename)
          NameError: name 'os' is not defined
          

          (whoops, i see this was already mentioned)

          1. The path is not set for .doctests in the same way as py files or py files run as doctests. This is true for both py2 and py3 as far as i can tell. Makes it trickier to write doctests that rely on imports (can still be done via sys.path)
          1 Reply Last reply Reply Quote 0
          • m16bishop
            m16bishop last edited by

            Very excited about the Pythonista 3. How do I sign up for beta?
            Also, support writing and saving to Google Drive and or Drop Box????
            I keep my source code their so I can work on my mac, ipad, surface, or Raspberry Pi.

            I love Pythonista. It allows me to code at Starbucks on my ipad.

            Thank you!!

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

              I found now way to rename a python file or to duplicate it in the script editor (beta pythonista)

              Move, export, create do work.

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

                @omz: Any chance to compile pythonista 2.0 with ipv6 support? AFAIK this should be no major problem.

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

                  I have been using an app called Working Copy which connects to repositories including github and bitbucket and clones them. Any changes locally can be committed and pushed. So far this has been working great and one of the editors I use Textastic has integrated with it to open files. Anything edited in textastic is updated in Working Copy and can then be pushed to, in my case, bitbucket.

                  Has there been any thought to integrating pythonista with Working Copy as they already have the repository syncing worked out? It would be great to clone my repository, edit/test/debug, and push from Pythonista :)

                  Thanks

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

                    @mfkilgore https://forum.omz-software.com/topic/1848/working-copy-integration-sidebar

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

                      @ccc thanks for the link. I will add my vote for integration with Working Copy. The more I use it the more I like it no need know github/bitbucket access details.

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

                        I would also love to see native integration with Working Copy. It would make teaching Pythynista and Git to high school programming students much easier. As long as it also moves over any assets and *.pyui files in a directory, and not just the *.py files.

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

                          See https://forum.omz-software.com/topic/2712/bug-missing-feature-pythonista-is-missing-from-airdrop/2 and rule 2.7 of https://developer.apple.com/app-store/review/guidelines/#functionality

                          Webmaster4o 1 Reply Last reply Reply Quote 0
                          • Webmaster4o
                            Webmaster4o @ccc last edited by

                            @ccc Did that section of developer.apple.com just get a redesign? It looks nice.

                            1 Reply Last reply Reply Quote 0
                            • oboudou_
                              oboudou_ @omz last edited by

                              @omz

                              Hi omz,
                              same issue here: Applied for the beta a few week ago, but I'm not on the list (nor did I receive a testflight invitation).
                              Can you héla me ?

                              oboudou@gmail.com

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

                                Hi--is there an FAQ someplace on this subject? Confused about it all. Does the current version of the app support both 2.7 and 3? How? Thanks!

                                ETA: Oops. Just answered my own question (saw there's a new app version for 3).

                                1 Reply Last reply Reply Quote 0
                                • GxAl2aa
                                  GxAl2aa @omz last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post
                                  Powered by NodeBB Forums | Contributors