Create curve.py