Python programming pins