PYTHON notes and basic code