def pack(name, root, path=None, pack_format='tar', compress='bzip2'):
 if (pack_format == 'tar'):
  _tar(name, root, path, compress)

def pack ( name , root , path = None , pack_format = 'tar' , compress = 'bzip2' ) : if ( pack_format == 'tar' ) : _tar ( name , root , path , compress )
pack an object and return the packed bytes .