Configuration 如何读取ipython笔记本中的配置?

Configuration 如何读取ipython笔记本中的配置?,configuration,ipython-notebook,Configuration,Ipython Notebook,我用的是Anaconda2.1分布式。 我已经创建了自己的配置部分 from IPython.config.configurable import Configurable from IPython.utils.traitlets import Int, Float, Unicode, Bool class Myconfig(Configurable): token = "" 然后初始化 c = get_config() load_subconfig('Myconfig.py') c

我用的是Anaconda2.1分布式。 我已经创建了自己的配置部分

from IPython.config.configurable import Configurable
from IPython.utils.traitlets import Int, Float, Unicode, Bool

class Myconfig(Configurable):
    token = ""
然后初始化

c = get_config()
load_subconfig('Myconfig.py')
c.Myconfig.token='Somethingusefull'
如何读取笔记本中的Myconfig.token

谢谢