Utils

class pathomx.utils.UnicodeReader(f, dialect=<class csv.excel>, encoding=u'utf-8', **kwargs)[source]

A CSV reader which will iterate over lines in the CSV file “f”, which is encoded in the given encoding.

next()[source]
class pathomx.utils.UnicodeWriter(f, dialect=<class csv.excel>, encoding=u'utf-8', **kwargs)[source]

A CSV writer which will write rows to CSV file “f”, which is encoded in the given encoding.

writerow(row)[source]
writerows(rows)[source]
pathomx.utils.find_packager()[source]
pathomx.utils.invert_direction(direction)[source]
pathomx.utils.lumina(R, G, B)[source]
pathomx.utils.luminahex(hex)[source]
pathomx.utils.mkdir_p(path)[source]
pathomx.utils.nonull(stream)[source]
pathomx.utils.sigstars(p)[source]
pathomx.utils.swap(ino, outo)[source]
pathomx.utils.which(program)[source]