Turtle In Notebooks?

1,934 views
Skip to first unread message

Matthew Kettlewell

unread,
Dec 5, 2015, 3:25:36 PM12/5/15
to Project Jupyter
I've installed JupyterHub in my home server, and have it available for each of my kids to have a login, and can work with them on assignments...

What i haven't figured out, is how to get the Turtle package to work.... I've seen a few threads about some old, defunct projects, but nothing recent... 

Is there any way to get turtle to work in the most recent versions of Jupyter/Jupyterhub ?

thanks

Matt

Thomas Kluyver

unread,
Dec 6, 2015, 4:42:24 AM12/6/15
to Project Jupyter
Hi Matt,

Have a go with my 'mobilechelonian' module (install with 'pip install mobilechelonian'):
https://github.com/takluyver/mobilechelonian

I haven't tested it recently, but I think it should still work with the current version of Jupyter. If not, I'm happy to help fix it up (though I'll be a bit busy over the next week, because I'm going to Geneva).

Best wishes,
Thomas

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/6923b63f-6fa1-4bd3-8f2d-d1c17b834c4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Matthew Kettlewell

unread,
Dec 6, 2015, 7:55:44 PM12/6/15
to Project Jupyter
I was able to run your sample program beautifully ... thanks so much!

Matt


PS - 
There are some warnings about deprecation's and what-not, but I suspect you're already aware of those things.... 
 
ie.  
usr/lib/python3.4/site-packages/IPython/html.py:14: ShimWarning: The `IPython.html` package has been deprecated. You should import from `notebook` instead. `IPython.html.widgets` has moved to `ipywidgets`.
"`IPython.html.widgets` has moved to `ipywidgets`.", ShimWarning)
/usr/lib/python3.4/site-packages/IPython/utils/traitlets.py:5: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
warn("IPython.utils.traitlets has moved to a top-level traitlets package.")

Thomas Kluyver

unread,
Dec 7, 2015, 3:43:38 AM12/7/15
to Project Jupyter
On 7 December 2015 at 00:55, Matthew Kettlewell <kettlewell.en...@gmail.com> wrote:
I was able to run your sample program beautifully ... thanks so much!

Terrific :-)
 
PS - 
There are some warnings about deprecation's and what-not, but I suspect you're already aware of those things.... 

I hadn't thought about it, but it makes sense - it was written for the IPython 3 APIs, which have moved around in Jupyter 4. Thanks for the reminder, I'll get round to updating them at some point. PRs welcome if anyone wants to have a go.

Thomas

Tony Hirst

unread,
Dec 17, 2015, 11:58:10 AM12/17/15
to Project Jupyter
I'd be quite interested in giving an updated version of this package a spin as an activity in an introductory computing/IT course we're putting together. (Just have to persuade everyone else involved that python3 is the way to go, I guess!;-)

tony
Reply all
Reply to author
Forward
0 new messages