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.


    Command line parameters and sqlite3

    Pythonista
    4
    5
    1360
    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.
    • rockie12us
      rockie12us last edited by ccc

      Hi all
      I have a crypto currency bot I wrote in python. It runs fine and uses command line parameters to set the coin etc. it also uses sqlite3 to store state values.

      Is Pythonista able to be used to convert this to an iOS app?

      How does pythonista handle command line type parameters and sqlite3 storage?

      Thanks in advance for your time
      Dean-O

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

        https://forum.omz-software.com/topic/2193/pythonista-run-script-with-command-line-parameters

        SQLite should work as it does on other Python implementations

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

          Is Pythonista able to be used to convert this to an iOS app?

          Depends on what you mean with "convert this to an iOS app". You should be able to run the bot under Pythonista. But it won't be its own iOS app. The bot will run inside the Pythonista app.

          How does pythonista handle command line type parameters and sqlite3 storage?

          I don't know about SQLite, but you can certainly give scripts you run under Pythonista command line arguments on run.

          cvp 1 Reply Last reply Reply Quote 0
          • cvp
            cvp @halloleooo last edited by

            @halloleooo said:

            you can certainly give scripts you run under Pythonista command line arguments on run.

            @ccc pointed a topic where you can learn how to do in Pythonista

            halloleooo 1 Reply Last reply Reply Quote 0
            • halloleooo
              halloleooo @cvp last edited by

              @cvp Ups, yes, of course! 😉

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