Skip to content

Commit 12f2cd8

Browse files
author
Ishaan Goyal
committed
Update README.md
1 parent 5a5e8be commit 12f2cd8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
4. [Date and Time Modules](#exploring-standard-modules-date-and-time-modules)
2020
5. [Subprocess Module](#exploring-standard-modules-subprocess-module)
2121
6. [Argparse Module](#exploring-standard-modules-argparse-module)<!--TODO -->
22-
6. [SQLite Module](#exploring-standard-modules-embedded-relational-database-module)
22+
6. [SQLite Module](#exploring-standard-modules-embedded-relational-database-module)
2323
7. [XmlTree Module](#exploring-xmltree-module)
2424
8. [JSON Module](#exploring-json-module)
2525
9. [Regular Expressions Module](#exprloting-standard-regular-expression-module)
@@ -42,11 +42,11 @@
4242

4343
## `Getting Started` Standard Input, Output and Error
4444

45-
Standard input, output and error (commonly referred as `stdin`, `stdout` and `stderr`) are what's called pipes.
45+
Standard input, output and error (commonly referred to as `stdin`, `stdout` and `stderr`) are what's called pipes.
4646

4747
These pipes are normally connected to the terminal window where you are working.
4848

49-
When printing something (using `print()`), it goes to the `stdout` pipe by default; when your program needs to print errors (like a traceback in Python), it goes to the `stderr` pipe; and when your program requires input from a user or other programs, it is goes to the `stdin` pipe.
49+
When printing something (using `print()`), it goes to the `stdout` pipe by default; when your program needs to print errors (like a traceback in Python), it goes to the `stderr` pipe; and when your program requires input from a user or other programs, it goes to the `stdin` pipe.
5050

5151
```bash
5252
$ cat /etc/passwd | grep /bin/bash
@@ -208,7 +208,7 @@ totat lines: 14023
208208
By default, `fileinput.input()` will read all lines from files given as an argument to the script; if no arguments given then defaults to standard input.
209209

210210
---
211-
211+
212212
## `Getting Started` Command-line Arguments
213213

214214
`sys` module provides `argv` variable containing the list of arguments passed to the script when executed as a command-line application.
@@ -519,7 +519,7 @@ sys.exit(0)
519519
```bash
520520
$ python3 sys-01.py
521521

522-
Python version installed: 3.7.4 (default, Jul 9 2019, 16:48:28)
522+
Python version installed: 3.7.4 (default, Jul 9 2019, 16:48:28)
523523
[GCC 8.3.1 20190223 (Red Hat 8.3.1-2)]
524524

525525
Python running on platforn: linux
@@ -902,7 +902,7 @@ A few concepts we can learn from the four commands:
902902
- The "-l" is knowns as an "optional argument"
903903
- If you want to display the help text of the ls command, you would type "ls --help"
904904
905-
To start using the argparse module, we first have to import it.
905+
To start using the argparse module, we first have to import it.
906906
907907
```py
908908
>>> import argparse

0 commit comments

Comments
 (0)