Previous topic

parseRange

Next topic

read

This Page

parseTuple

NepidemiXConfigParser.parseTuple(lstring, dtype=<type 'str'>)

Create a tuple from a comma separated string.

Utility method.

Parameters :

lstring : str

The string.

dtype : special, optional

The individual elements of the tuple will be cast to this type.

Returns :

ttuple : tuple

A tuple containing the elements of the comma-separated string.