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 can i get input from URL ?
-
How can i do action input using pythonista url, like:
pythonista3://Test.py/?action=run/<input>
So when user click url i can get the string that in <input> place, help me if you can.
-
@Raymond doc of Pythonista url scheme says
Example: pythonista://MyScript?action=run&args=foo%20bar When you pass a single string with the args URL parameter, the string is split by spaces (the space is encoded as %20 here) and sys.argv would be [<script_path>, 'foo', 'bar'] in this example.
See MyScript without .py and usage of "&"