I’m guessing it’s the backslash. If you preceed a space with a backslash in the terminal, it’s interpreted as a literal space rather than an options separator. This means you’re attempting to pass the “filename” ‘ -n’ (space|dash|n) to the script, rather than the option ‘-n’ (dash|n). This results in the “too many arguments” error, as you have multiple “filenames” rather than the single one molfile_to_params.py expects.
The backslash is included in some example commandlines because if it’s put at the very end of a line, it escapes the line ending, allowing you to put the command on multiple lines. If you retype the command as a single line, or copy-paste it into a single line, you should remove the backslash, as it’s no longer needed.