How to call module written with argparse in iPython notebook

后端 未结 9 1487
半阙折子戏
半阙折子戏 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 02:38

    Clean sys.argv

    import sys; sys.argv=['']; del sys
    

    https://github.com/spyder-ide/spyder/issues/3883#issuecomment-269131039

提交回复
热议问题