跳至内容
菜单
此问题已终结

Hello Odooers

In odoo8 (python 2.7) StringIO module work Perfectly whenever I run in odoo13 (python 3 & 3.5) given Error like AttributeError: '_io.StringIO' object has no attribute 'next'

When I print input given like <_io.StringIO object at 0x7f6ddeeb6798> also type type then <class '_io.StringIO'>

I used code like this.
from io import StringIO
input = StringIO(data)
line = input.next()

形象
丢弃
相关帖文 回复 查看 活动
0
10月 23
43707
1
10月 23
5187
2
2月 23
5593
1
12月 22
4751
1
11月 22
2649