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.


    Import several files at once

    Pythonista
    2
    4
    1573
    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.
    • bobsmith76
      bobsmith76 last edited by

      Is there anyway to import several files at once. My program is split into 35 files and I have to import them one at a time. It is extremely tedious.

      Also, I'm trying to open up a pickle that is 8 megs large. It takes a lot of time and it crashes before it opens. Is this normal? Of course, I can chop it up into 8 sections and put it back together, but I would rather not do that.

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

        Actually, the problem just got worse. I forgot that I have json files with 750 files in it that needs to be imported. It is very important that I be able to import these files because they speed up the program enormously.

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

          Zip the files. Then unzip in pythonista.

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

            As for large pickles... Are you sure you are importing these correctly, as binary?

            Someone recently was trying to open a pkl as text then copy paste...

            What sort of data is in the pickle? I.e what types. Is this numpy arrays, or custom classes, etc?

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