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
-
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 -
https://forum.omz-software.com/topic/2193/pythonista-run-script-with-command-line-parameters
SQLite should work as it does on other Python implementations
-
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.
-
@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
-
@cvp Ups, yes, of course! 😉