Files
python3-cookbook/cookbook/c05/p14_bypass_encode.py

16 lines
219 B
Python
Raw Permalink Normal View History

2014-09-24 23:20:25 +08:00
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
Topic: 忽略文件名编码
Desc :
"""
import sys
def bypass_encoding():
print(sys.getfilesystemencoding())
if __name__ == '__main__':
bypass_encoding()