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.


    How to upload file to Pythonista?

    Pythonista
    3
    4
    4576
    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.
    • charlieb
      charlieb last edited by

      My first time to use this app and I'd like to upload files to test my program. Please can you help? Thanks

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

        To import a file into Pythonista, you can "share"/"open in" it from another app. In the share sheet, select the "Run Pythonista Script" action in the bottom row. (If you don't see it, you might have it disabled. To fix that, scroll all the way to the right, tap on "More", and enable Pythonista in that list.) Now you should get a small Pythonista window with a few icons. Tap on "Import File", this will copy the file into Pythonista.

        Note that you cannot import Python scripts this way (because of Apple's restrictions on importing code). If you want to import Python code from somewhere else, you can copy and paste it into Pythonista, or put it in a zip file and import that.

        shtek 1 Reply Last reply Reply Quote 3
        • charlieb
          charlieb last edited by

          Many thanks for your help and guidance. Really appreciate the help.

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

            @dgelessus said:

            Note that you cannot import Python scripts this way (because of Apple's restrictions on importing code). If you want to import Python code from somewhere else, you can copy and paste it into Pythonista, or put it in a zip file and import that.

            but most wanted: import Python code from somewhere else

            since Pyhonista doesn't provide this function by default, the first thing after installing Pythonista is to add a script to do this. just search in this forum and you can easily find code to import Python code from somewhere else.

            I heard that Pythonista once provided this feature by default, but Apple forced it to remove it. what a pity

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