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.


    Windows SQLite Database File Into Pythonista 3?

    Pythonista
    3
    5
    3709
    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.
    • johnnyEss
      johnnyEss last edited by

      Hello all,

      I have been learning Python on my Windows 7 platform. I just purchased Pythonista 3 for my iPad and am VERY excited to be able to continue my Python play on the go. I have been a life-long database developer and so my coding has mostly been around doing database "type things".

      I have been able to create a SQLite db locally on my iPad... but what I would REALLY like is to copy over the one I've been populating for months over on Windows...

      But for the life of me I CANNOT figure out how to get my jhs2016.db file over into the Pythonista files area so that I can use it with my Pythonista coding. I have tried "sending it" from Dropbox, OneDrive and iCould to Pythonista but it won't work.

      Help!

      Thanks for your help!

      John

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

        https://github.com/Pythonista-Tools/Pythonista-Tools / Utilities / DropboxFilePicker

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

          Another option if you don't want to use Dropbox is ftp. You can use stash to pip install pyftpdlib and then follow the example here: https://pypi.python.org/pypi/pyftpdlib/
          I just tested it with transferring an sqlite file and then opening it in Pythonista and it worked fine.

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

            Or you can use OMZ's script: https://gist.github.com/omz/1aec8a66a5d5d19a36ab

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

              Thanks for the reply's guys! @ihf I'll give OMZ's script a try!

              @ccc At the moment, I don't want to go through the added hassle of getting all setup for the Dropbox development API key and all... but thanks for the reference, I may explore in the future!

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