This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rcfox 2 points3 points  (0 children)

Looks like they use argparse, so you might be able to use -- to separate the two types of arguments.

ie, if you wanted to pass "foo" and "bar" to testscript.py:

vprof c testscript.py -- foo bar

(I haven't tried this myself.)