进程间通信:
# -*- coding: UTF-8 -*-
from multiprocessing import Process,Manager
def f(d,l):
  d[1] = '1'
  d['2'] = 2
  d[0.25] = None
  l.reverse()   #列表进行反转
  
if __name__ == '__main__':
  manager = Manager()
  
  d = manager.dict()
  l = manager.list(rang(10))
  
  p = Process(target=f,args=(d,))
  p.start()
  p.join()
  
  print d
  print l