@@ -241,7 +241,7 @@ sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0)
241
241
>> > sys.exit() # exit out of Python
242
242
```
243
243
244
- ** TODO:** why stderr instead of stdout.
244
+ ** TODO:** why stderr instead of stdout, when to use ` sys.stdin.readline() ` instead of ` input() `
245
245
246
246
` sys.exit() ` does the same thing as ` sys.exit(0) ` . The zero means that
247
247
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.
461
461
- [ webbrowser] ( https://pymotw.com/3/webbrowser/ ) :
462
462
open a web browser from Python
463
463
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.
471
468
472
469
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"
475
472
section at the bottom.
476
473
477
474
## Summary
0 commit comments