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.


    new user

    Pythonista
    4
    5
    2454
    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.
    • ermentrout
      ermentrout last edited by

      I just started using Python and Pythonista, mostly because many of my students use it and I need to run their codes. How do I get their .py files into Pythonista? So far, all I can do is copy them onto the clipboard and then paste into a new script. It seems there must be a better way. I saw that "open in" is not allowed. Also, same thing with gist on git hub. How do I even download codes that I find on gist?

      Thanks

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

        Unfortunately Pythonista is no longer allowed to be used as an Open In target as of the latest update, as requested by Apple. Copy-pasting currently is the easiest way - the GitHub integration is currently broken as far as I know. It is still possible to download files from the internet using modukes like requests, which is the only way to get non-text files into Pythonista. Though for code and other text files it is generally much easier and quicker to just copy and paste them.

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

          @ermentrout you could easily write a transfer script to transfer from your desktop to your ipad, an ipad to another ipad. You could even allow users to remotly transfer thier project to your ipad.

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

            Try this new version of the Gist importer, it works for me, and has a couple new features added in. Just ask your students to export their Pythonista scripts to Github, and send you the urls. Now just copy each of the urls into your clipboard individually, (not all at the same time) and run the gist importer script after each of the copied urls. I think they also included a javascript bookmarklet to do most of the work for you.

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

              https://gist.github.com/9031843

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