#!/usr/bin/python
import os
if not os.path.exists("./test.txt"):
print "test.txt file not exist"
if os.path.exists("./test.txt"):
print "test.text file exist"
root@byoungguk-desktop:~# ./existtest.py
test.txt file not exist
root@byoungguk-desktop:~# touch test.txt
root@byoungguk-desktop:~# ./existtest.py
test.text file exist
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 2 | 21년 전 | 3257 | ||
| 1 | 22년 전 | 4354 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기