lor_code.LOR.cdd_lor

LOR.cdd_lor(*sub_dir, **kwargs)[source]

Change directory to package data directory and sub-directories (and/or a file).

The directory for this module: "\dat\line-data\lor-codes".

Parameters
  • sub_dir (str) – sub-directory or sub-directories (and/or a file)

  • kwargs – optional parameters of os.makedirs, e.g. mode=0o777

Returns

path to the backup data directory for LOR

Return type

str