Consider the followig python code block
#+name: whatever #+header: :var x="2*np.pi" #+BEGIN_SRC python import numpy as np 1+x #+END_SRC # .
The code will break, because x is passed to the interpreter as a string and then added together with an integer which is not legal (the trick would work in Maxima for some reason, though). If I remove the quotes ("), then Org complains that it can't find a reference (or, something such). So, how to insert an expression such as
2*np.pi to a code block?