Conversion of Matlab code into python

Hi there , anyone with idea with matlab. can assist on conversion of this line of code into python.

normdata = data./repmat(sqrt(sum(data.^2,2)),1,size(data,2));

variable data it receive nested list data format.