Is there any way that I pass arguments to my python script through command line while using ipython? Ideally I want to call my script as:
ipython -i script.py --argument blah
and I want to be able to have --argument
and blah
listed in my sys.argv
.
You can use one
--
more option before that:Help of
Ipython
:Demo: