How to call module written with argparse in iPython notebook

后端 未结 9 1483
半阙折子戏
半阙折子戏 2020-12-29 02:04

I am trying to pass BioPython sequences to Ilya Stepanov\'s implementation of Ukkonen\'s suffix tree algorithm in iPython\'s notebook environment. I am stumbling on the argp

9条回答
  •  失恋的感觉
    2020-12-29 03:00

    If you don't want to change any of the arguments and working mechanisms from the original argparse function you have written or copied.

    To let the program work then there is a simple solution that works most of the time.

    You could just install jupyter-argparser using the below command:

    pip install jupyter_argparser
    

    The codes work without any changes thanks to the maintainer of the package.

提交回复
热议问题