import re
import os

input_path = 'G:/test/aa.json'
output_path ='G:/test/bb.json'
with open(input_path) as input_file:
    str = input_file.read()
    str = re.sub('\s','',str)
    print str
    with open(output_path, 'w') as output_file:
        output_file.write(str)

 

相关文章:

  • 2022-12-23
  • 2022-02-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2021-10-29
相关资源
相似解决方案