Python Fun

This pleasant scripting language was named not after the constricting snake, but rather the sketch group. If you have not much experience with Python, peruse this light introduction.

Palindrome

Palindrome, a classic demo. Try editing the code and running it!


Zen

Easter egg list of guiding principles behind Python’s design.


Maze

Here we generate a random maze. Do you see a path from the start, X, to the goal, G? (Making only moves North, East, South, West). The search algrithm within is Breadth First Search.


On the matter of search, Dijkstra’s Algorithm is inferior to a simpler and more effiecient search algorithm: Uniform Cost Search. (See this position paper). Uniform Cost Search is an uninformed search algorithm that explores a search space in the same way Dijkstra’s does.



This demo was made using Skulpt and CodeMirror.

Last Edited 19 Mar 2015