Skip to content

Reference XYZMolecule XYZMolecule.head

XYZMolecule.head

head(n=10, filetype=None)

Prints the first n rows.

Parameters:

  • n (int, default: 10 ) –

    Amount of filelines to select.

  • filetype (str | None, default: None ) –

    Format of the printed file.

Returns:

  • Method prints first n rows of filetype to terminal.