【发布时间】:2016-03-19 00:28:38
【问题描述】:
我正在做一个学校项目。我以前做过很多 Python 脚本,我想知道我是否可以像 javascript 一样在 html 中导入 python?我该怎么做?示例是导入时间。我想通过 python 脚本在我的网页中显示一个时钟。
【问题讨论】:
-
这里有an example of a clock using Brython。并且在这里你可以看到如何use several time functionality。
标签: python html python-2.7