run python command line interpreter with imports loaded automatically

后端 未结 5 629
执笔经年
执笔经年 2021-02-07 02:54

I would like to play around in the python interpreter but with a bunch of imports and object setup completed. Right now I\'m launching the interpreter on the command line and do

5条回答
  •  旧时难觅i
    2021-02-07 03:08

    You can use the -s option while starting the command line. The details are given in the documentation here

提交回复
热议问题