python在读取配置文件存入列表中,去掉回车符号

self.receiver = map(lambda x: x.strip(), receiver_list)  # 去掉list中的回车符号

posted on 2017-06-05 20:28  BDER  阅读(2173)  评论(0编辑  收藏  举报

导航