write_fileΒΆ

Writes the contents of a python file with one module per page.

Warning

If the function to be written does not have a docstring no output will be produced and a warning will be given.

param file

Absolute path to file

type file

str