a little bit nicer

z = norm.ppf(q)

(z as in standard normal or z-scored variable)

or in statistical tests I usually use

crit = norm.ppf(q)