title: Printing sympy expressions in Pycharm
body: <p>So I wanted to know if there is anyway to print sympy expressions. I was previously using Jupyter Notebook and the way it printed the expression were nice <a href="https://i.stack.imgur.com/BbxGG.png" rel="nofollow noreferrer">like this</a>.</p>
  <pre><code>from sympy import symbols, sin, cos, Matrix
  from sympy.physics.mechanics import dynamicsymbols, init_vprinting, Point, ReferenceFrame
  
  init_vprinting()
  
  l = symbols('l')
  theta1, theta2, x = dynamicsymbols('theta1 theta2 x')
  
  N = ReferenceFrame('N')
  A = ReferenceFrame('A')
  B = ReferenceFrame('B')
  
  A.orient_axis(N, N.z, theta1)
  B.orient_axis(A, A.z, theta2)
  
  r_op = l*A.y + x*B.y
  
  print(r_op.express(A))
  
  </code></pre>
  <pre><code>Output &gt;&gt; - x(t)*sin(theta2(t))*A.x + (l + x(t)*cos(theta2(t)))*A.y
  </code></pre>