Skip to content

Commit 0369088

Browse files
committed
tell people to search on pypi themselves instead of recommending a couple funny modules, also GNU/Linux --> Linux
1 parent 5c14594 commit 0369088

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

basics/modules.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0)
241241
>>> sys.exit() # exit out of Python
242242
```
243243

244-
**TODO:** why stderr instead of stdout.
244+
**TODO:** why stderr instead of stdout, when to use `sys.stdin.readline()` instead of `input()`
245245

246246
`sys.exit()` does the same thing as `sys.exit(0)`. The zero means that
247247
the program succeeded, and everything's fine. If our program has an
@@ -461,17 +461,14 @@ then typing in what you want to search for.
461461
- [webbrowser](https://pymotw.com/3/webbrowser/):
462462
open a web browser from Python
463463

464-
I also use these modules, but they don't come with Python so you'll
465-
need to install them yourself if you want to use them:
466-
467-
- [appdirs](https://github.com/activestate/appdirs):
468-
an easy way to find out where to put setting files
469-
- [requests](http://docs.python-requests.org/en/master/user/quickstart/):
470-
an awesome networking library
464+
There are also lots of awesome modules that don't come with Python.
465+
You can search for those on the [Python package index](https://pypi.org/),
466+
or PyPI for short. It's often better to find a library that does something
467+
difficult than to spend a lot of time trying to do it yourself.
471468

472469
I recommend reading [the official documentation about installing
473-
modules](https://docs.python.org/3/installing/). If you're using
474-
GNU/Linux also read the "Installing into the system Python on Linux"
470+
modules](https://docs.python.org/3/installing/) from PyPI. If you're using
471+
Linux, then also read the "Installing into the system Python on Linux"
475472
section at the bottom.
476473

477474
## Summary

0 commit comments

Comments
 (0)