René's URL Explorer Experiment


Title: Chapter 3 - Code Formatting with Black

direct link

Domain: inventwithpython.com

Nonetext/html;charset=utf-8

Links:

(close)https://inventwithpython.com/beyond/chapter3.html
https://nostarch.com/automate-boring-stuff-python-3rd-edition
https://nostarch.com/big-book-small-python-projects
https://nostarch.com/inventwithpython
https://nostarch.com/crackingcodes
...and other books as well!https://inventwithpython.com/
online video course.https://inventwithpython.com/automateudemy
donate to support the author directly.https://inventwithpython.com/#donate
Prev: Chapter 2 - Environment Setup and the Command Linehttps://inventwithpython.com/beyond/chapter2.html
Next: Chapter 4 - Choosing Understandable Nameshttps://inventwithpython.com/beyond/chapter4.html
Blackhttps://black.readthedocs.io/en/stable/
listhttps://docs.python.org/3/tutorial/datastructures.html
Python Enhancement Proposal 8 (PEP 8)https://peps.python.org/pep-0008/
https://www.python.org/dev/peps/pep-0008/https://www.python.org/dev/peps/pep-0008/
'\t', is more ambiguous. Tabs often, but not always, render as a variable amount of spacing so the following text begins at the next tab stop. The tab stop are positioned every eight spaces across the width of a text file. You can see this variation in the following interactive shell example, which first separates words with space characters and then with tab characters:https://inventwithpython.com/beyond/escape character, or
TabError: inconsistent use of tabs and spaces in indentationhttps://docs.python.org/3/library/exceptions.html#TabError
slicehttps://docs.python.org/3/library/functions.html#slice
use a semicolon to separate multiple statements on a single linehttps://docs.python.org/3/reference/simple_stmts.html#simple-statements
import statementhttps://docs.python.org/3/reference/import.html
https://black.readthedocs.io/en/stable/the_black_code_style.htmlhttps://black.readthedocs.io/en/stable/the_black_code_style.html
https://github.com/psf/black/https://github.com/psf/black/
Prev: Chapter 2 - Environment Setup and the Command Linehttps://inventwithpython.com/beyond/chapter2.html
Next: Chapter 4 - Choosing Understandable Nameshttps://inventwithpython.com/beyond/chapter4.html
Buy this book direct from the publisher. (Free ebook)https://inventwithpython.com/nsp-beyond
Bookshop.orghttps://inventwithpython.com/bookshop-beyond
Powellshttps://inventwithpython.com/powells-beyond
Amazonhttps://inventwithpython.com/amazon-beyond
Barnes and Noblehttps://inventwithpython.com/bn-beyond

URLs of crawlers that visited me.