首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
推荐学习书目
›
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
FLask框架中secure_filename获取中文文件名问题
Bviews
·
2013-01-29 20:10:45 +08:00
· 9320 次点击
这是一个创建于 4401 天前的主题,其中的信息可能已经有所发展或是发生改变。
用secure_filename获取中文文件名时,结果就只剩后缀了,如何处理这个问题呢?
Secure
filename
文件名
1 条回复
•
1970-01-01 08:00:00 +08:00
1
zhy0216
2013-01-30 17:05:04 +08:00
1
http://werkzeug.pocoo.org/docs/utils/#werkzeug.utils.secure_filename
The filename returned is an ASCII only string for maximum portability.
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
2344 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 15:48
·
PVG 23:48
·
LAX 07:48
·
JFK 10:48
Developed with
CodeLauncher
♥ Do have faith in what you're doing.