-
Notifications
You must be signed in to change notification settings - Fork 107
Description
Thanks for maintaining/doing this!
My 11-year-old daughter was recently introduced to Turtle in her 6th grade CS course. (I'd be happy to share her cute code for a turtle hatching out of an egg, if you want)
The instructor would share examples, and they would do assignments, using Trinket. That seems to be a nice simple interface to write/display/share code. But I was a little annoyed that they only recently allowed Python3 for free (If anyone, kids should be starting with modern/future versions of tools. They don't have legacy code to maintain.) And Trinket seems/feels a little limited/old.
I got to thinking that there are better open/free interfaces/services for experimenting with and sharing Python code. At work, colleagues and I use Jupyter Lab and know/use Google Colab. Colab would be a nice way for kids to experiment and save/annotate multiple coding tries/parts, etc.I found that Colab is an app which seems to be enabled for use in her school (Google Classroom-enabled) account.
But I found that the standard (Python3.7 tkinter-based?) Turtle didn't work there, due it not knowing/having access to a/the regular DISPLAY, etc.
I understand that/why. So I found the following package, for doing a similar Turtle thing in Colab:
https://github.com/tolgaatam/ColabTurtle
I've been in contact with that developer, via GitHub issues. It seems to me he is/was on the right track by using html svg tags, when in a notebook environment (since Turtle seems to do very simple shapes, etc.). But it would be nice if, for the things he has implemented, it would match this/the traditional API. He is now thinking to return and implement a couple more bits of the API.
But I was wondering if it might be easier to match this API by directly using this API. One thought was to fork this, and see if there were any decorator functions he could add/create to wrap some low-level display ones here.
I looked around a little here, for such things. But I wonder now if it would/could be easier to use any methods already available in/with wx (wx.html???). I am not familiar with wx. Do you have any thoughts/ideas?