Python code collection