Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
关于 Python3 中读取文件使用了 w+后,还能恢复吗
0clickjacking0
·
Feb 1, 2021
· 3437 views
This topic created in 2122 days ago, the information mentioned may be changed or developed.
关于 Python3 中读取文件使用了 w+后,还能恢复吗,程序在阿里云上。
Python3
读取
文件
恢复
7 replies
•
2021-02-04 10:37:24 +08:00
0clickjacking0
OP
Feb 1, 2021
1
只是突然想到这个问题,一个想法而已,还没有真实发生😂
ksc010
Feb 1, 2021
2
若没有“覆盖”的话,理论上是可以的
goodryb
Feb 1, 2021
3
w+ 应该是不存在则创建文件,存在则先清空在写入, 十有八九是救不回来了。
linw1995
Feb 3, 2021
4
https://stackoverflow.com/questions/6648493/how-to-open-a-file-for-both-reading-and-writing/58925279#58925279
理论上没有覆盖就没问题 ( ´▽`)
0clickjacking0
OP
Feb 4, 2021
5
@
linw1995
谢谢老哥
0clickjacking0
OP
Feb 4, 2021
6
@
ksc010
谢谢老哥
0clickjacking0
OP
Feb 4, 2021
7
@
goodryb
谢谢老哥
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1697 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms ·
UTC 16:20
·
PVG 00:20
·
LAX 08:20
·
JFK 11:20
♥ Do have faith in what you're doing.
❯