Ah! Very good. Thanks!
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.
Latest posts made by mr88cet
-
RE: Pythonista: Run Script with Command-Line Parameters?
-
Pythonista: Run Script with Command-Line Parameters?
(Apologize in advance if I just missed it, but I can't seem to find this either in the docs or this forum.)
Is there a way to invoke our scripts such that Pythonista prompts for would-be-command-line parameters, to appear to my script as sys.argv[]?
Conceptually/ideally, it would seem like any query in your code of sys.argv[] should trigger it to prompt for command-line parameters.
-
RE: Debugger?
@eric said:
nice, I wasn't aware of the pdb module!
I suspect I'll be needing it. Never buy a pencil without an eraser!
-
RE: Debugger?
Ah, OK, good deal, thanks!
Also, just for the record:
https://docs.python.org/2/library/pdb.html
-
Debugger?
Question: Does Pythonista include a debugger? If so, I haven't managed to locate it yet, but then again, I'm pretty new to Python in general, and to Pythonista in particular.
In particular, ways of setting breakpoints, seeing where in the code it's executing, single-stepping into vs. over method calls, viewing expressions, watchpoints on data change, and so forth?