## xyz_trajectory_file()


Write geometries to a multi-frame xyz file (see [xyz_trajectory_block](xyz_trajectory_block.md#autogeom.xyz_trajectory_block)).


Usage

``` python
xyz_trajectory_file(
    geos,
    *,
    path,
    comments=None,
)
```


## Parameters


`geos: Sequence[Geometry]`  
Geometries.

`path: str | Path`  
Output path.

`comments: Sequence[str] | None = None`  
Comment line for each frame. Defaults to the charge and spin.
