-
djl
My mistake. The menu I was looking for appears if you tap "run Pythonista script."
-
djl
The appex sharing options seem to have disappeared for iOS 13 and iPadOS. Am I missing something?
-
djl
I have noticed that "add to home screen" scripts consistently produce two instances of a graphic ui.
-
-
djl
What is the proper syntax in the pyui custom attributes section to have a textfield input keyboard appear without the shift field highlighted by default?
-
djl
@JonB
Thank you Jon. That worked when I entered the argv statement followed by:Package_name.module_name.main()
I'm just learning how all of this fits together.
-
djl
@cvp there is no script with the functionality of the module invoked in the stash command line. The is a module with sub modules, including init
Without understanding the answer to my original question, I did discover a workaround. If I import a submodule from the main module, I can reproduce expected output by directly calling some of the included functions. I am just surprised that this is so different than simply invoking the main module in stash.
-
djl
@cvp thank you for your help, but my original question dealt with the python console command line, not from within a script. If one runs the module itself using the long_press method, it starts the init script and added arguments do nothing. I am just trying to replicate what happens so easily in stash, in the normal Pythonista framework, and I'm not getting anywhere.
-
djl
I tried long press to run arguments in a script, and it didn't work. I don't see such an option when using the console command line. I checked python versions and also paths in the console and in stash -- they are the same.
-
djl
I am trying to understand the use of modules in stash and on the python console. I have a module that runs perfectly in stash with a command like:
Module_name -s d blabla
"-s d blabla" are necessary arguments in this example . I cannot figure out how to do the same thing from the Pythonista console. I can import the module, but any way I try to add the arguments, I get the error:
SyntaxError: invalid syntax