Skip to Content
Menu
This question has been flagged

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()

Avatar
Discard
Related Posts Replies Views Activity
0
Oct 23
36847
1
Oct 23
2616
2
Feb 23
3496
1
Dec 22
3365
1
Nov 22
1456