Store Python code as part of learning process