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()
Це запитання позначене
5619
Переглядів
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
|
0
жовт. 23
|
49267 | ||
|
|
1
жовт. 23
|
8059 | ||
|
|
2
лют. 23
|
8235 | ||
|
|
1
груд. 22
|
6529 | ||
|
|
1
лист. 22
|
4159 |