摘要:
```pythondef myreadlines(f, newline): buf = '' while True: while newline in buf: pos = buf.index(newline) yield buf[:pos] buf = buf[pos + len(newline):] ... 阅读全文
posted @ 2020-04-03 19:40
Nefarious
阅读(365)
评论(0)
推荐(0)
摘要:
```pythondef convert(content): return content.encode("UTF-8").decode("Unicode_Escape")if __name__ == "__main__": while True: content = input("请输入 Unicode 代码:") target = con... 阅读全文
posted @ 2020-04-03 19:25
Nefarious
阅读(222)
评论(0)
推荐(0)