def all_modules(regex='*'):
	mods = []
	for path in glob.iglob('app/%s/main' % regex):
		module = osp.basename(osp.dirname(path))
		mods.append((module, path))
	return mods
dataset/ETHPy150Open alexcepoi/pyscale/pyscale/tools/tasks.py/all_modules/original