Most of you have probably read about my usage of Brython to enable a Python version of my "Karel the robot" clone on the web. This particular aspect of it is probably not very interesting to most of you.
However ...
If ever you need to discuss Python/Brython with someone at another location, you might find my site useful: I use TogetherJS from Mozilla (
https://togetherjs.com/) to enable screen sharing.
To see how this works:
1. Have someone that you want to collaborate with (you can fake it by having two browsers opened at the same time)
3. Click on the "World" button at the top to hide the robot world (which, I presume, you won't need)
4. Click on the "Diary" button at the top to see the output (of print() calls)
5. Click on the "Start TogetherJS" button at the top. This will activate TogetherJS. You'll get a quick introduction that will lead you to copy a url.
6. Share that url with someone else (it could be more than one person)
7. Both of you can now edit the code and run it.
No login required, no tracking (not by me anyway; I can't speak for the Mozilla server that acts as an intermediary), and always free to use.
Notes:
a) Reeborg's World was first written in Javascript. I "only" use Brython to translate the Python code in the editor (and some other hidden code specific to the robot world) into Javascript prior execution. So, it is not a pure Brython site ... and only because I wanted users to be able to use programming languages other than Python (currently Javascript and CoffeeScript ... eventually Scheme, possibly Ruby, etc.). But Python is obviously my favourite, and it is the default when a visitor comes to the site for the first time!
b) I may rename "Start TogetherJS" to something else ("Collaborate" perhaps?...) so the above instructions may be slighlty inaccurate by the time you read this.
c) You might want to share some code with someone at a distance, who is not available for collaboration at that moment. There is a button with an image of two ovals linked together. Clicking on this button will create a permalink that saves, among other things, the current content of the editor. This link can then be sent to someone (or posted on the web) so that they can run a program themselves.
One slight problem with those permalinks is that they tend to be quite long ...
like this
However, both of the above utilities (TogetherJS and permalink) might be something useful to add to the demonstration Editor on the Brython site. ;-)
Cheers,
André