php2python.com is super useful for learning all the little things which always need doing when moving from to , e.g. splitting a string using another string, or pretty-printing a dict.

updated: