我正在尝试为 IPython qtconsole (v3.0.0) 设置自定义横幅。在我的配置文件配置中,我设置了c.IPythonWidget.banner = u'Custom Banner'
,然后启动ipython qtconsole --profile=myprof
。我得到的是我在常规横幅之前的自定义横幅:
Custom BannerPython 2.7.5 (default, Mar 9 2014, 22:15:05)
Type "copyright", "credits" or "license" for more information.
IPython 3.0.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
%guiref -> A brief reference about the graphical user interface.
IPython profile: myprof
In [1]:
我怎样才能只打印我的横幅,例如
Custom Banner
IPython profile: myprof
In [1]:
谢谢。