I made a few extra BBCodes. It seems illogical to use the code box for error output, code output, especially when it syntax highlighted for no reason
These are (currently) in the drop down BBCode labeled "insert" and you can select which one you want. These are custom BBcodes. We might move them to their own code button (if required) later.
Just put the desired text within the 2 BBCodes as normal. The titles Error and Output come alone with the tags to help signify
These are (currently) in the drop down BBCode labeled "insert" and you can select which one you want. These are custom BBcodes. We might move them to their own code button (if required) later.
Just put the desired text within the 2 BBCodes as normal. The titles Error and Output come alone with the tags to help signify
Error:[color=#222222][size=small]Traceback (most recent call last):
File "generate-1.py", line 16, in <module>
function5()
File "generate-1.py", line 14, in function5
function4()
File "generate-1.py", line 11, in function4
function3()
File "generate-1.py", line 8, in function3
function2()
File "generate-1.py", line 5, in function2
function1()
File "generate-1.py", line 2, in function1
raise RuntimeError('xxx')
RuntimeError: xxx[/size][/color]
Output:metulburr@ubuntu:~$ yardsale -h
usage: yardsale [-h] [-l] [-d] [-t] [-s] [-a] [-e] [-p PAGE] [-o OUTPUT]
[-x [EXCLUDE [EXCLUDE ...]]] [-i [INCLUDE [INCLUDE ...]]]
[-f DIFF] [-r READ] [-w] [-c]
Arguments
optional arguments:
-h, --help show this help message and exit
-l, --link Remove links from output
-d, --desc Remove descriptions from output
-t, --time Remove date and time from output
-s, --sep Remove separator from output
-a, --address Remove address from output
-e, --entire Remove entire total sales number from output
-p PAGE, --page PAGE number of pages to parse
-o OUTPUT, --output OUTPUT
output to filename given
-x [EXCLUDE [EXCLUDE ...]], --exclude [EXCLUDE [EXCLUDE ...]]
remove entries from list if found in address line
-i [INCLUDE [INCLUDE ...]], --include [INCLUDE [INCLUDE ...]]
include only entries from list if found in address
line
-f DIFF, --diff DIFF Check current difference from file. This file is a
previous output from -o
-r READ, --read READ read all existing file
-w, --show show file after creating
-c, --clock output time
Recommended Tutorials: