From dd2c42eea9f3af923646757e1eeff761caf3ad14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 30 Jan 2019 06:31:54 +0100 Subject: [PATCH] System --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d9ba692..579e000 100644 --- a/README.md +++ b/README.md @@ -815,14 +815,14 @@ LogicOp = Enum('LogicOp', {'AND': partial(lambda l, r: l and r), System ------ -### Arguments +### Command Line Arguments ```python import sys script_name = sys.argv[0] arguments = sys.argv[1:] ``` -### Input +### Input Function **Reads a line from user input or pipe if present. The trailing newline gets stripped.** ```python @@ -838,7 +838,7 @@ while True: break ``` -### Open +### Open Function **Opens file and returns a corresponding file object.** ```python @@ -883,7 +883,7 @@ from os import path, listdir ['1.gif', 'card.gif'] ``` -### Execute Command +### Command Execution ```python import os = os.popen().read()