笨办法学python3 ex16.py中使用VScode显示truncate不存在

炼铁炼钢 2019-06-21 06:51:45
在运行ex16.py的时候power shell显示
target.truncate()
AttributeError: 'tuple' object has no attribute 'truncate'
想求问大神这是什么意思,在code里面truncate显示Instance of 'tuple' has no 'truncate' member
...全文
102 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
炼铁炼钢 2019-06-29
  • 打赏
  • 举报
回复
已解决 已解决

1,160

社区成员

发帖
与我相关
我的任务
社区描述
在CSDN学院遇到的问题反馈及对学院的改进建议等。
社区管理员
  • 软件培训社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧