@pyimport struct as pystruct?


I am trying to use a package which contains @pyimport struct. If I understand right, this would have been OK on some older versions of Julia, but now struct is a reserved word and so this gives errors.

EDIT – nevermind, I solved this using what the manual recommends:

pystruct = pyimport("struct")