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()
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- 專案管理
- MRP
此問題已被標幟
4827
瀏覽次數
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
|
0
10月 23
|
46648 | ||
|
|
1
10月 23
|
6739 | ||
|
|
2
2月 23
|
6891 | ||
|
|
1
12月 22
|
5588 | ||
|
|
1
11月 22
|
3387 |