started reformatting python to sc