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.


    Importing files, Github, and my work flow - I need advice.

    Pythonista
    8
    13
    7432
    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.
    • Plungestep
      Plungestep last edited by

      I've been using Pythonista to solve Project Euler problems on my Mac. I'd like to switch to Pythonista and take my skills up a level. Ideally, I'd like to use it on both my iPad and iPhone, but will primarily work on my iPad. I understand iCloud Drive support is coming, but I wonder whether I should wait for that or use something like Github? I'm not experienced with Github at all, but I do need to get my previous code into Pythonista for reference. Right now, they are all stored in a folder on my Mac.

      For those unfamiliar with Project Euler, I'm essentially creating lots of small scripts that solve one particular problem, but I do need to refer back to previous code to copy sections for use in new code I'm writing. I also want to be able to test something at random times, because as you probably know, an idea for solving a coding problem often comes when you are in an unusual location (thus the use of my iPhone).

      What would you suggest I do to improve my work process?

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

        • https://workingcopyapp.com/
        • https://github.com/cclauss/Pythonista-and-Working-Copy
        1 Reply Last reply Reply Quote 1
        • Plungestep
          Plungestep last edited by

          I tried Working Copy. It's a nice app, but wow, this process is cumbersome. I understand the issues are due to Apple's restrictions and I have to give the app developers credit for working with these restrictions. Still, are there any other options?

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

            Pythonista (beta, not released yet) supports iCloud sharing, you can open files directly from Working Copy, ...

            Anyway, if you have an iPad and you have no beta access, you can install Black Mamba where I do support bidirectional drag & drop, mainly tested with Working Copy. My workflow (pre beta) is - clone in WC, drag to Pythonista, edit, drag back to WC, commit & push.

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

              P.S. Didn't try, but it should work with Dropbox or any other app supporting drag & drop as well.

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

                Pythonista 3.2 has just been approved by Apple, so iCloud support etc. is available for everyone now.

                1 Reply Last reply Reply Quote 2
                • wjferris
                  wjferris last edited by

                  I actually use my Pythonista for also solving project Euler problems. I have PyCharm on the Mac laptop and the iCloud integration allows me to work on the same files on either the Mac or the iPhone. It works quite well but you have to be mindful of the availability of the libraries between the two platforms.

                  I’ve been impressed with the performance of Pythonista and it’s awesome that I can make use of a two hour bus commute using my iPhone.

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

                    My cheat sheet for Working Copy

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

                      @brumm there's no need to import / open in Working Copy. Just do this ...

                      Pythonista

                      • Reveal file browser
                      • EXTERNAL FILES - tap on Open...
                      • Select folder from Working Copy (already existing repository)

                      You can now edit files in Pythonista, delete them, create new ones, ... And all these changes are automatically propagated to the Working Copy. If you'd like to commit & push, just open Working Copy and do it. That's it. It's called open in place and Pythonista is editing files directly in the Working Copy folder / repository (shared location).

                      Phuket2 1 Reply Last reply Reply Quote 3
                      • brumm
                        brumm last edited by

                        Thank you for the tip. I wish Working Copy would support subfolders. At the moment I‘m not sure if I want to save disk space or not, because of this flat structure. How many repos can you link in the External File section?

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

                          I don't think there's a limit. I can only think about UI/UX issues when you open lot of them - mess.

                          Wish I can open the whole Working Copy, not just selected repos. Will send an email to Anders (WC author) if he can add one more directory like repositories to the directory structure so the iOS limitation will be mitigated.

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

                            All,

                            In case someone (similar to myself) had already purchased a similar product to WC called "Clone", it can be used in the same way.

                            I have both WC and Clone, to me WC is more featre rich especially if you will be working on a project with others, but this isn't a review, just an FYI.

                            Pretty well the exact same instructions just in case.

                            1 Reply Last reply Reply Quote 0
                            • Phuket2
                              Phuket2 @zrzka last edited by

                              Amazing, so easy. I didn't realise you could do that. Thanks
                              @zrzka said:

                              @brumm there's no need to import / open in Working Copy. Just do this ...

                              Pythonista

                              • Reveal filter browser
                              • EXTERNAL FILES - tap on Open...
                              • Select folder from Working Copy (already existing repository)

                              You can now edit files in Pythonista, delete them, create new ones, ... And all these changes are automatically propagated to the Working Copy. If you'd like to commit & push, just open Working Copy and do it. That's it. It's called open in place and Pythonista is editing files directly in the Working Copy folder / repository (shared location).

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