static.realpython.com
python-cheatsheet.pdf
"abc".replace("bc", "ha"). # "aha". "a b".split(). # ["a", "b"]. "-".join(["a", "b"]). # "a-b". String Indexing & Slicing text = "Python" text[0] # "P" ...
"abc".replace("bc", "ha"). # "aha". "a b".split(). # ["a", "b"]. "-".join(["a", "b"]). # "a-b". String Indexing & Slicing text = "Python" text[0] # "P" ...
Table of Contents • Arithmetic Operators in Python • Comparison Operators in Python
REST in a Nutshell: A Mini Guide for Python Developers REST is essentially a set of useful conventions for structuring a web API. By "web API", I mean an API that you interact with over HTTP - making requests to specific URLs, and often getting relevant data back in the response.
In chapter 2.5, Dan discusses the different ways to do string formatting in Python. String formatting is one of those things that defy the Zen of Python, that there should only be one obvious way to do things.