def main():
COUNT = 1
food = []
n = int(input("Enter the number of items on your grocery list.\n"))
for i in range(1, n+1):
food.append = (input("What is item #" + str(COU
我想創建一個線程,而在一個類內啓動另一個類的構造函數,但它看起來像pool.apply_async沒有像我期望的那樣傳遞kwargs。這裏是我的代碼(下調至僅包括線程代碼): from MyDatabaseScript import DB
class Trinity:
def __init__(self):
#lets split a thread off and w