diff --git a/README.md b/README.md index eca522d..fa1f46e 100644 --- a/README.md +++ b/README.md @@ -1445,13 +1445,13 @@ BaseException +-- AssertionError # Raised by `assert ` if expression returns false value. +-- AttributeError # Raised when an attribute is missing. +-- EOFError # Raised by input() when it hits end-of-file condition. - +-- LookupError # Raised when a look-up on a collection fails. + +-- LookupError # Base class for errors when a collection can't find an item. | +-- IndexError # Raised when a sequence index is out of range. | +-- KeyError # Raised when a dictionary key or set element is missing. +-- MemoryError # Out of memory. Could be too late to start deleting vars. - +-- NameError # Raised when an object is missing. - +-- OSError # Errors such as “file not found” or “disk full” (see Open). - | +-- FileNotFoundError # When a file or directory is requested but doesn't exist. + +-- NameError # Raised when nonexistent name (variable/func/class) is used. + | +-- UnboundLocalError # Raised when local name is used before it's being defined. + +-- OSError # Errors such as FileExistsError/PermissionError (see Open). +-- RuntimeError # Raised by errors that don't fall into other categories. | +-- RecursionError # Raised when the maximum recursion depth is exceeded. +-- StopIteration # Raised by next() when run on an empty iterator. @@ -2518,6 +2518,7 @@ except requests.exceptions.ConnectionError: Web --- +**Bottle is a micro web framework/server. If you just want to open a html file in a web browser use `'webbrowser.open()'` instead.** ```python # $ pip3 install bottle from bottle import run, route, static_file, template, post, request, response diff --git a/index.html b/index.html index 5612ba3..7ef1d34 100644 --- a/index.html +++ b/index.html @@ -1239,13 +1239,13 @@ error_msg = ''.join(traceback.format_exception( ├── AssertionError # Raised by `assert <exp>` if expression returns false value. ├── AttributeError # Raised when an attribute is missing. ├── EOFError # Raised by input() when it hits end-of-file condition. - ├── LookupError # Raised when a look-up on a collection fails. + ├── LookupError # Base class for errors when a collection can't find an item. │ ├── IndexError # Raised when a sequence index is out of range. │ └── KeyError # Raised when a dictionary key or set element is missing. ├── MemoryError # Out of memory. Could be too late to start deleting vars. - ├── NameError # Raised when an object is missing. - ├── OSError # Errors such as “file not found” or “disk full” (see Open). - │ └── FileNotFoundError # When a file or directory is requested but doesn't exist. + ├── NameError # Raised when nonexistent name (variable/func/class) is used. + │ └── UnboundLocalError # Raised when local name is used before it's being defined. + ├── OSError # Errors such as FileExistsError/PermissionError (see Open). ├── RuntimeError # Raised by errors that don't fall into other categories. │ └── RecursionError # Raised when the maximum recursion depth is exceeded. ├── StopIteration # Raised by next() when run on an empty iterator. @@ -2067,11 +2067,12 @@ WIKI_URL = 'https://en.wikipedia.org/wiki/Python_(prog -

#Web

# $ pip3 install bottle
+

#Web

Bottle is a micro web framework/server. If you just want to open a html file in a web browser use 'webbrowser.open(<path>)' instead.

# $ pip3 install bottle
 from bottle import run, route, static_file, template, post, request, response
 import json
 
+

Run

run(host='localhost', port=8080)        # Runs locally.
 run(host='0.0.0.0', port=80)            # Runs globally.
 
diff --git a/parse.js b/parse.js index 52d0d38..dcd16a0 100755 --- a/parse.js +++ b/parse.js @@ -367,13 +367,13 @@ const DIAGRAM_7_B = " ├── AssertionError # Raised by `assert <exp>` if expression returns false value.\n" + " ├── AttributeError # Raised when an attribute is missing.\n" + " ├── EOFError # Raised by input() when it hits end-of-file condition.\n" + - " ├── LookupError # Raised when a look-up on a collection fails.\n" + + " ├── LookupError # Base class for errors when a collection can't find an item.\n" + " │ ├── IndexError # Raised when a sequence index is out of range.\n" + " │ └── KeyError # Raised when a dictionary key or set element is missing.\n" + " ├── MemoryError # Out of memory. Could be too late to start deleting vars.\n" + - " ├── NameError # Raised when an object is missing.\n" + - " ├── OSError # Errors such as “file not found” or “disk full” (see Open).\n" + - " │ └── FileNotFoundError # When a file or directory is requested but doesn't exist.\n" + + " ├── NameError # Raised when nonexistent name (variable/func/class) is used.\n" + + " │ └── UnboundLocalError # Raised when local name is used before it's being defined.\n" + + " ├── OSError # Errors such as FileExistsError/PermissionError (see Open).\n" + " ├── RuntimeError # Raised by errors that don't fall into other categories.\n" + " │ └── RecursionError # Raised when the maximum recursion depth is exceeded.\n" + " ├── StopIteration # Raised by next() when run on an empty iterator.\n" +