ENcomment#

module wntr.epanet.util

class ENcomment[source]#

Bases: object

A class for storing EPANET configuration file comments with objects.

Variables:
  • pre (list of str) – a list of comments to put before the output of a configuration line

  • post (str) – a single comment that is attached to the end of the line


__init__(pre=<factory>, post=None)#
to_dict()[source]#
wrap_msx_string(string)[source]#
post: str = None#
pre: List[str]#