In [5]: eval??
Type: builtin_function_or_method
Base Class: <type 'builtin_function_or_method'>
String Form: <built-in function eval>
Namespace: Python builtin
Docstring [source file open failed]:
eval(source[, globals[, locals]]) -> value
Evaluate the source in the context of globals and locals.
The source may be a string representing a Python expression
or a code object as returned by compile().
The globals must be a dictionary and locals can be any mapping,
defaulting to the current globals and locals.
If only globals is given, locals defaults to it.
iPython,一个交互式的pythonshell替换(read:enhancement),包括
??
操作符,它为您提供了一个方便的pydoc信息打印输出。在例如:
可能不完全是您想要的,但它是与Python文档交互的好方法。在
是的,有一个很棒的文档浏览器,用于Python、Django、JavaScript、iOS等,称为Dash。它只适用于OS X。你可以从Mac应用商店下载。如果你有Mac电脑,你会喜欢的。在
还有一个开源的跨平台替代dash:Zeal
它使用全局快捷方式(Alt+Space),具有即时搜索功能,支持多种文档格式和库(django、numpy、scipy、six等)和其他语言。在
相关问题 更多 >
编程相关推荐