python3 multiprocessing use the same data for all processes code example
Example 1: sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread
conn = sqlite3.connect('your.db', check_same_thread=False)
Example 2: how to know all methods in a module in python
>>> import re
>>> dir(re)
Example 3: python create a program that runs through all possible combinations
from itertools import combinations
lst = ["a" ,"b", "c"]
lengthOfStrings = 3
for i in combinations(lst, lengthOfStrings):
print(i)