<code>$ python3 -t -c 'print("hello world")'
hello world
</code>
<code>$ python3 -t -c 'print("hello world")'
hello world
</code>
$ python3 -t -c 'print("hello world")'
hello world
What does -t
do? It’s not mentioned in python3 --help
.
Usually unknown options cause a non-zero exit code, like
<code>$ python3 -r
Unknown option: -r
usage: python3 [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
</code>
<code>$ python3 -r
Unknown option: -r
usage: python3 [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
</code>
$ python3 -r
Unknown option: -r
usage: python3 [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.