Closed astroseger closed 3 months ago
Yes, this code is quite questionable
!(bind! random (py-atom numpy.random))
!(bind! numpy (py-atom numpy))
!( (py-dot random rand) 5)
!( (py-dot (py-dot numpy random) rand) 5)
You create random
token and also wants to use it as a symbol. You shouldn't do this.
In this string !( (py-dot (py-dot numpy random) rand) 5)
random
got substituted with numpy.random
module.
The following code fails:
with the following error:
In the same case independently these two example work.
or