Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
4513 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
okt. 23
43712
1
okt. 23
5190
2
feb. 23
5594
1
dec. 22
4755
1
nov. 22
2649