python slr