Skip to content

Commit 852bdc3

Browse files
committed
Update usage instructions
1 parent d325554 commit 852bdc3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,20 @@ A good way to get the most out of these examples, in my opinion, will be just to
162162
- If no, take a deep breath, and read the explanation (and if you still don't understand, shout out! and create an issue [here](https://github.com/satwikkansal/wtfPython)).
163163
- If yes, give a gentle pat on your back, and you may skip to the next example.
164164
165-
PS: You can also read these examples at the command line. First install the npm package `wtfpython`,
165+
PS: You can also read WTFpython at the command line. There's a pypi package and an npm package (supports colored formatting) for the same.
166+
167+
To install the npm package [`wtfpython`](https://www.npmjs.com/package/wtfpython)
166168
```sh
167169
$ npm install -g wtfpython
168170
```
171+
172+
Alternatively, to install the pypi package [`wtfpython`](https://pypi.python.org/pypi/wtfpython)
173+
```sh
174+
$ pip install wtfpython -U
175+
```
176+
169177
Now, just run `wtfpython` at the command line which will open this collection in your selected `$PAGER`.
170178
171-
#TODO: Add pypi package for reading via command line (yes, this is the real wtf for now!)
172179
173180
# 👀 Examples
174181

0 commit comments

Comments
 (0)