convert argv() to PythonObject #2635
Unanswered
singersbalm
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
how can I convert the argv to a python object. I want to use argparse, but the args aren't working. the solution would be to pass the args from mojo. it works when hardcoded `["-a", "foo"], but when using argv() it fails, because it isn't of the PythonObject type
Beta Was this translation helpful? Give feedback.
All reactions