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) retu result Is there a way 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.
Thanks!
- - , .
.
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 293
تاريخ: جمعه
25 تير
1395 ساعت: 7:21