Is there code python to add label to profile (complete label set)

Is there code python to add label to profile (complete label set)