Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

二次写入文件的问题 #35

Closed
airycanon opened this issue Aug 4, 2016 · 0 comments
Closed

二次写入文件的问题 #35

airycanon opened this issue Aug 4, 2016 · 0 comments

Comments

@airycanon
Copy link

用 Python 写入二进制,首先创建文件,写入 100 个字节的数据,接着重新打开文件,定位到文件起始位置,用 10 个字节的数据覆盖,结果这 10 个字节正常写入,而剩余的 90 个字节全部变成 00,是什么原因?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant