def get_data_filepath(name):
 dr = data_root()
 if (not os.path.exists(dr)):
  os.makedirs(dr)
 return os.path.join(dr, name)

def get_data_filepath ( name ) : dr = data_root ( ) if ( not os . path . exists ( dr ) ) : os . makedirs ( dr ) return os . path . join ( dr , name )
returns a handle to data file .