Python Phase-plane Resources