(exp(x) / (1 + exp(2x))).subs(exp(x), u)

(exp(x) / (1 + exp(2x))).subs(exp(x), u)

can't multiply sequence by non-int of type 'instancemethod'

See what
Wolfram|Alpha has to say.

Want to compute something more complicated? Try a full Python/SymPy console at SymPy Live.