cd_dat_bbbike

pydriosm.utils.cd_dat_bbbike(*sub_dir, mkdir=False, **kwargs)[source]

Change directory to dat_BBBike and its sub-directories.

Parameters
  • sub_dir (str) – name of directory; names of directories (and/or a filename)

  • mkdir (bool) – whether to create a directory, defaults to False

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

Returns

an absolute path to a directory (or a file) under data_dir

Return type

str