解决办法:

先去回车:

d3 = d2.replace('\n', '')
 

再把单引号替换为双引号。
d3 = d3.replace("'", '"')

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2023-03-22
  • 2021-04-01
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
相关资源
相似解决方案