【发布时间】:2013-07-12 16:48:54
【问题描述】:
以下 iframe 不会在 ipython-notebook 中呈现
from IPython.display import HTML
HTML('<iframe src=http://stackoverflow.com width=700 height=350></iframe>')
但是,这个会渲染(注意,.com 与 .org)
from IPython.display import HTML
HTML('<iframe src=http://stackoverflow.org width=700 height=350></iframe>')
在第一个示例中我做错了什么吗?如果这是一个错误,我应该在哪里提交错误报告?
【问题讨论】:
-
也许使用 IPython 显示中的 IFrame 对象会起作用...
标签: python iframe ipython ipython-notebook