简体   繁体   English

Skulpt vs Trinket.io Python 版本

[英]Skulpt vs Trinket.io Python Version

I'm confused.我糊涂了。 On http://skulpt.org/ it says, under "what's new?":http://skulpt.org/它说,在“什么是新的?”下:

Python 3 Grammar. Python 3 语法。 The master branch is now building and running using the grammar for Python 3.7.3. master 分支现在正在使用 Python 3.7.3 的语法构建和运行。 There are still lots of things to implement under the hood, but we have made a huge leap forward in Python 3 compatibility.引擎盖下还有很多东西要实现,但我们在 Python 3 兼容性方面取得了巨大的飞跃。 We will still support Python 2 as an option going forward for projects that rely on it.我们仍将支持 Python 2 作为依赖它的项目的一个选项。

It also says on the site that the way to embed Skulpt on a site is using Trinket.io.它还在网站上说,将 Skulpt 嵌入网站的方法是使用 Trinket.io。 However, on Trinket.io, if you create a new Trinket, the only free option is "Python".但是,在 Trinket.io 上,如果您创建一个新的 Trinket,唯一的免费选项是“Python”。 It doesn't specify the version, but there is a locked option for "Python 3."它没有指定版本,但有一个“Python 3”的锁定选项。

What is the deal please?请问是什么情况? Is it that Trinket.io offers a paid version of Skulp that supports Python 3? Trinket.io 是否提供支持 Python 3 的 Skulp 付费版本? Or are the default "Python" trinkets "kinda sorta" Python 3, as described on the Skulpt homepage?或者是默认的“Python”小饰品“kinda sorta”Python 3,如 Skulpt 主页所述? Or what?还是什么?

The bottom line is, I want to embed some Python 3 on my site, but I'm not ready to pay for a subscription.底线是,我想在我的网站上嵌入一些 Python 3,但我还没准备好支付订阅费用。 Is this possible please?请问这样可以吗?

It looks like Trinket.io doesn't use Skulpt for Python 3 anymore.看起来 Trinket.io 不再为 Python 3 使用 Skulpt。 When you run a Python 3 code on Trinket.io it says "Connecting to server" which wouldn't be necessary with Skulpt.当您在 Trinket.io 上运行 Python 3 代码时,它会显示“连接到服务器”,这对于 Skulpt 来说是不必要的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM