Update parts.py

added licence header