python 2.7 - Multiprocessing is not achieved -


i trying use multiprocessing in python running 10-20 input files in xml format using parallel process can achieved multiprocessing. when try run code

service = process(name='my_service', target=function_name, args=(run_xml, result_dest,))     service.start() 

i pickling error when tried run code , can 1 suggest me possible solution?

f(self, obj) # call unbound method explicit self file "d:\program files\aon\pathwise 2.0\apps\py_vendors\python27\lib\pickle.py", line 748, in save_global (obj, module, name)) pickle.picklingerror: can't pickle : it's not found __main__.new


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -