I have a python file like my_functions.py and within that file is a function
def func(a,b):
result = does_some_stuff(a,b)
return result
Is there a bash one-liner that would open N python sessions and run this function with specified arguments a and b? I'm thinking of using this for some poor man's parallel processing, since there's some randomness in func all the calls wouldn't do the same thing even with the same arguments a and b.