Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
list() -> new empty list
list(iterable) -> new list initialized from iterable's items

src/a/o/aobom-HEAD/task/tasks.py   aobom(Download)
def taskPool():
    from config import tasks
    for t in tasks:
        module = __import__('task.' + t.lower())
        module = getattr(module,t.lower())

src/a/o/aobom-HEAD/main.py   aobom(Download)
    def validTask(taskMode):
        from config import tasks
        return taskMode in tasks
 
    m = getInput('''Please choose, type: