You can start a REPL with `isympy -I`, which is an IPython REPL but with some preprocessing magic that wraps any unknown variable into a sympy symbol and any integer into a sympy integer, which makes it closer to Mathematica:
In [1]: 22/7*foobar
Out[1]:
22⋅fo̅o
──────
7