You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sy...@googlegroups.com
On Tue, Apr 5, 2016 at 11:24 AM, Aaron Meurer <asme...@gmail.com> wrote:
> You can just use symbols(variables) (symbols() works with a list of strings).
Or, for some reason if you want to:
variables = ['x', 'y', 'z']
sympy_variables = []
for v in variables:
sympy_variables[i] = Symbol(v)
The above can be further written concisely as:
sympy_variables = [Symbol(v) for v in variables]
so, sympy_variables will be a list of SymPy symbols in both cases.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sympy
Thanks for the quick response that was good to hear, I am just getting started with Python for scientific computing and I am amazed at how powerful it is.