Skip to content

Tools

Created on Jan 15, 2010

@author: Roland Kaminski

dist_time(int_rep: int) -> str

Converts integer value in seconds to [[h:]m:]s time format.

Attributes:

Name Type Description
int_rep int

Int representation.

mkdir_p(path: str) -> None

Simulates "mkdir -p" functionality.

Attributes:

Name Type Description
path str

A string holding the path to create.

set_executable(filename: str) -> None

Set execution permissions for given file.

Attributes:

Name Type Description
filename str

A file

xml_time(str_rep: str) -> int

Converts [[h:]m:]s time format to integer value in seconds.

Attributes:

Name Type Description
str_rep str

String representation.