## xyz_file()


Write a geometry to an xyz file.


Usage

``` python
xyz_file(
    geo,
    *,
    path,
    comment=None,
)
```


## Parameters


`geo: Geometry`  
Geometry.

`path: str | Path`  
Output path.

`comment: str | None = None`  
Comment line. Defaults to the charge and spin, e.g. `"Geometry(q=0, s=0)"`.
