os.path.exists(path)¶
Return True if path refers to an existing path. Returns False for broken symbolic links. On some platforms, this function may return False if permission is not granted to execute os.stat() on the requested file, even if the path physically exists.
'PYTHON > CODE' 카테고리의 다른 글
[CODE] PYTHON 데몬 예제 (2) | 2013.05.21 |
---|---|
[CODE]Unique 리스트 값 찾기 (0) | 2012.12.14 |
[CODE] 디렉토리 리스트 가져오기 (0) | 2012.12.13 |
[CODE] 간단한 파일 서버 만들기 (0) | 2012.11.23 |
[CODE] 파이썬 윈도우 서비스 등록 (0) | 2012.11.15 |