output vector of coefficients



I have an expression of the form
(1-%e^(-a*T))/(z-%e^(-a*T))
and I would like to output two vectors that represent the coefficients
of z in the numerator and denominator, so that I may pass those
vectors to Python (with either Maxima or Python substituting constants
in for parameters).  I searched the help and found the coeff function,
but don't see how to make it do exactly what I want.  I might be able
to set up a for loop using coeff that does what I want if I could find
out what the highest power of z is in the numerator and denominator.

The desired output for this example would be:
num_vect=[1-%e^(-a*T)]
den_vect=[1, -%e^(-a*T)]

Thanks,

Ryan