Rectangle() and Circle() functions deprecated

Well, I can do that. But now I’m stuck into converting the .msh file into .xml or .xdmf (apparently the last one is preferred).

First I converted this .geo file into .msh using Gmsh. But using

from fenics import *
dolfin-convert geometry.msh geometry.xml

gives me an “invalid syntax” error on the first argument. This answer prompts me to install and use meshio instead, which I did, but gives the same syntax error when using

import meshio
meshio-convert geometry.msh geometry.xdmf

My goal is to define a circular obstacle in a rectangular domain in order to study the scattering of an incident wave. Is it the right way of doing so?