old basic python examples