docs package¶
Dunderlab - Documentation¶
- docs.darker_color(color, darker_factor)[source]¶
Returns a darker version of a given color in hexadecimal format. The darker_factor parameter must be between 0 and 1, where 0 is the same color and 1 is black.
- docs.write_file(filename: str | bytes | PathLike, content: str) None[source]¶
If
`filename`does not exist then create one with`content`in it.