diff --git a/README.md b/README.md index 1147272..76f67cf 100644 --- a/README.md +++ b/README.md @@ -678,11 +678,11 @@ def write_to_file(filename, text): ### Path ```python -import os - = os.path.exists() - = os.path.isfile() - = os.path.isdir() - = os.listdir() +from os import path, listdir + = path.exists() + = path.isfile() + = path.isdir() + = listdir() ``` ```python