I want do start the python interpreter and debug with sys.argv. I do not want to provide a python file. If I provide a file, the interpreter executes the file and finishes.
Is there a way to archive this?
python argA argB
...
>>> import sys
>>> print sys.argv
['argA','argB']
mock'spatchfunction to replacesys.argvwith another list.