UnicodeDecodeError - Add encoding to custom function input

前端 未结 0 1882
渐次进展
渐次进展 2021-01-03 01:39

Could you tell me where I\'m going wrong with my current way of thinking? This is my function:

def replace_line(file_name, line_num, text):
  lines = open(f&q         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题