From 4ef2d28412b8e9f31cc6198f99f697cf7b83b075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 29 Dec 2018 15:53:26 +0100 Subject: [PATCH] Path --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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