当我运行以下代码时:
它返回了常见的错误:
tickers = re.findall(r'Process Name: (\w+)', s)
file = open("C:\Documents and Settings\jppavan\My Documents\My Dropbox\Python Scripts\Processes\GoodProcesses.txt","w")
file.write(tickers)
file.close()
它返回了常见的错误:
有什么想法吗?TypeError:期望一个字符缓冲区对象