How to go from text to coordn. in Python?

If you plug in numbers in your inputs then you could do in your code:

coor = [x,y,z]

and then use that as the first line as in

oh, and coorsplit isn’t needed than actually, since coor is already a list. So

import itertools as it
coor = [x,y,z]
coor = [coor for i in range(0, len(coor))]
a = list(it.product(*coor))

So if you plug 0 into x, 2 into y and -2 into z you’d get the coordinates in a list you are looking for.