目录 1,os.fork() 方法 2,Process方法 3,Pool方法 1,os.fork() 方法 import os ret = os.fork() if ret == 0: #子进程 print("Sub process pid = %d, Sub process ppid = %d" % (os.getpid(), os.getppid())) else: #父进程 print("Parent Process ret = %d" % ret) prin
.net中创建xml文件的两种方法 方法1:根据xml结构一步一步构建xml文档,保存文件(动态方式) 方法2:直接加载xml结构,保存文件(固定方式) 方法1:动态创建xml文档 根据传递的值,构建xml文档结构 1.创建实体类,保存窗体传递的值 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace