Harding, 30, was photographed with the snake at the event where she looked smitten as she cuddled and kissed the reptile, reported Sun online.
"Wearing a black and white floral printed dress and immaculate make-up, Sarah looked in good spirits at the event last night. She seemed to be back on top form after a turbulent few months that have seen her split from fiance DJ Tom Crane and check into rehab," an onlooker said.
Britney Spears had also performed with a python around her neck at the 2001 MTV Music Video Awards.