TrivialCode
顯示具有
python
標籤的文章。
顯示所有文章
顯示具有
python
標籤的文章。
顯示所有文章
2016年3月15日 星期二
python-check there is a existing file in a folder
import os
bIsExist = os
.
path
.
exists
(
file_path
)
if there is a file with same path, then bIsExist is True.
2015年12月29日 星期二
Python- #coding=utf-8
在code的最前面加上
#coding=utf-8
是用來指定文件编碼為utf-8的
較舊的文章
首頁
訂閱:
文章 (Atom)