module - 是否有可以在 Google Colaboratory 中使用的“simplegui”替代模块?
问题描述
我需要找到一个可以在 Python 和 Google Colaboratory 中运行的simplegui模块的替代方案。它可以在 CodeSkulptor 平台上运行,但在另一个平台上会出错!
解决方案
通过谷歌合作,我猜你的意思是 CodeSkulptor: https ://py3.codeskulptor.org/
我在 SimpleGUICS2Pygame 库中使用 Pygame 库在 Python 中重新实现了 SimpleGUI: https ://simpleguics2pygame.readthedocs.io/
这样,您就可以在 CodeSkulptor 和标准 Python 2 或 3 中运行相同的程序。
推荐阅读
- sonarqube - Sonarqube 在运行 sonar-scanner 时给出 node.js 错误
- android - 从 API 获取 Kotlin 中的 JSON 字符串
- javascript - 使用 JavaScript 创建 Razor 对象
- pyspark - Pyspark 无法将浮点数转换为浮点数:-/
- cmake - 如何让 cmake --build 在错误时停止
- nlp - 可以从词嵌入中移除外壳?
- twig - 如何在带有 FormBuilderInterface 的树枝中使用 form_widget
- r - 如何按列中的特定字符串对值求和?
- sql-server - 对同一表中同一列的两行求和
- c++ - 将运算符传递给 lambda