파이썬 os.rmdir()

1 개요[ | ]

Python os.rmdir()
파이썬 os.rmdir()
import os
os.chdir('/tmp')

os.mkdir('hello')
print( 'hello' in os.listdir(os.getcwd()) )
# True

os.rmdir('hello')
print( 'hello' in os.listdir(os.getcwd()) )
# False

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}