I often have a set of symbols I'd like to define at the beginning of a chunk of sympy
code. The 'boneheaded' approach is
from sympy import symbols
alpha, beta, delta, gamma = symbols("alpha,beta,delta,gamma")
but this feels terribly wasteful/redundant. I think the answers to this question get me most of the way there; ideally I'd like a function where I could say
foo(("alpha", "beta", "delta", "gamma"))
(or possibly foo("alpha", "beta", "delta", "gamma")
, whichever seems to be more Pythonic) and have these symbols added to my environment.