What you will learn in A Pythonic Adventure: From Python basics to a working web app
From Python basics to a working web app
Chapter by chapter
Concepts explained in this book
- list.appendThe Python list append method adds one item to the end of a mutable list.
- functionA function is a callable unit of code that performs an operation and may accept arguments and return a result.
- web applicationA web application is software that delivers interactive functionality through web technologies and is accessed using a web browser or other network client.
- web formAn HTML form is a markup-defined interface for collecting user input and submitting it to a destination.
- dropdownA select element is an HTML form control that presents a list of options from which a user can choose.
- request.formrequest.form is Flask's request data mapping for values submitted through an HTML form.
- listA Python list is an ordered, mutable collection that can contain values of different types, including other lists.
- openThe Python open function opens a file and returns an object representing the resulting file connection.
- MapA Python dictionary is a mutable mapping that associates unique keys with values for lookup and assignment.
- menuA menu is a presented list of products or options that a customer can choose from.
- don't repeat yourself principleThe DRY principle is the software-development practice of avoiding duplicated knowledge or implementation by defining it once and reusing it.
- function argumentA function argument is a value supplied to a function call for the function to operate on.
- option elementAn option element is an HTML element representing one selectable choice within a select control.
- JinjaA Jinja template is a template containing markup and placeholders that can be rendered into an HTML page with supplied data.
- databaseA database is a program or organized persistent system that stores data and performs operations such as searching and summarizing it.
- SQLSQL is a standardized language for defining, querying, and manipulating data in relational databases.
- directory structureA directory, also called a folder, is a filesystem container used to organize files and other directories.
- indentationIndentation is leading whitespace that Python uses to delimit statement blocks and determine control structure.
- cursorA database cursor is an object that executes database statements and retrieves their results.
- selectAn SQL SELECT statement retrieves data from one or more database tables.
- separation of concernsSeparation of concerns is a software design principle that divides a system into components with distinct responsibilities.
- SQLiteSQLite is an embedded relational database engine that stores a database in a self-contained file.
- sqlite3The sqlite3 module is Python's standard-library interface for working with SQLite databases.
- allowed answers listAn allowed answers list is a collection of input strings accepted as valid responses for a menu.
- break statementA break statement immediately terminates the innermost loop and continues execution after it.
- comparisonA comparison operator evaluates a relationship between values and produces a Boolean result.
- menu loopA menu loop repeatedly prompts for a menu selection until the input is accepted or the menu is exited.
- nested if statementA nested if statement is a conditional statement placed inside the body of another conditional statement.
- rangeThe Python range function produces an arithmetic sequence of integers represented by a range object.
- color pickerA color picker is an interactive tool for selecting colors and inspecting their representations.
- CSSCSS is a stylesheet language that specifies the presentation of HTML elements, including colors, fonts, sizes, and backgrounds.
- Google FontsGoogle Fonts is an online catalog and delivery service for fonts that can be used in websites and applications.
- picture licensingPicture licensing is the set of legal permissions and conditions governing the use of an image.
- stylesheetA style sheet is a plain-text resource containing rules that describe the visual presentation of document elements.
- FlaskFlask is a lightweight Python web application framework.
- action attributeAn action attribute is an HTML form attribute specifying the address to which submitted form data is sent.
- Flask requestThe Flask request object provides access to data and metadata associated with the current incoming HTTP request.
- HTTP GETThe GET method is an HTTP request method for retrieving a resource from a web server.
- request messageThe POST method is an HTTP request method for submitting data to a web server for processing.
- render_templaterender_template is a Flask function that loads a template, combines it with supplied values, and returns rendered content.
- route decoratorA route decorator is a Flask decorator that associates a URL path and request methods with a Python view function.
- JSONJSON is a text-based data-interchange format that represents structured data using objects, arrays, and primitive values.
- top-down designTop-down design is a development technique that defines a program's overall structure before detailing its component parts.
- orderAn order is a customer's requested set of products and options from a shop.
- jsonThe Python json module provides functions for encoding Python data structures as JSON and decoding JSON into Python values.
- json.dump()The Python json.dump function serializes a Python object as JSON and writes the result to a file-like object.
- json.loadThe Python json.load function reads JSON from a file-like object and deserializes it into a Python value.
- return statementA return statement exits a function and optionally supplies a result to its caller.
- order listAn order list is a collection of customer orders presented for review or processing.
- PythonPython 3 is the third major version of the Python programming language.
- continue statementA continue statement skips the remaining statements in the current loop iteration and starts the next iteration.
- placeholderA placeholder is a temporary implementation that stands in for intended functionality until the real implementation is written.
- trimThe Python string strip method returns a string with specified leading and trailing whitespace or characters removed.
- methodA method is a function associated with an object and invoked through that object.
- readlinesThe Python file readlines method returns the lines read from a file as a list of strings.
- local variableA local variable is a variable whose visibility is restricted to the function or block where it is defined.
- read-execute-print loopA REPL is an interactive programming environment that repeatedly reads input, evaluates it, displays results, and waits for more input.
- function declarationA function definition is a Python statement that declares a function's name, arguments, and indented body.
- input()The Python input function optionally displays a prompt, waits for user text, and returns the entered text.
- len()The Python len function returns the number of items in a container or characters in a string.
- closeA file close method terminates an open file connection and releases its associated resources.
- language modelA language model is a computational model trained on text or other language data to represent patterns and relationships in language.
- MuMu is a beginner-oriented Python code editor that bundles Python and supports programming for microcontrollers.
- code reviewCode review is the systematic examination of source code to identify defects, risks, and opportunities for improvement.
- commentA code comment is explanatory text in source code that is ignored during execution and documents intent or behavior.
- docstringA docstring is a string literal associated with a Python module, class, or function that documents its purpose and behavior.
- promptA prompt is an instruction or question supplied to an AI system to elicit a response.
- with statementA with statement is a Python compound statement that manages a context and performs defined cleanup when leaving that context.
- home pageA home page is the primary entry page of a website or web application that provides orientation and navigation to other content or functions.
- brainstormingBrainstorming is a group ideation technique that encourages collecting many ideas before evaluating them.
- PythonAnywherePythonAnywhere is a hosted platform that provides environments for running Python applications over the internet.
- stringA string is a sequence of text characters represented as a value in a program.
- osThe Python os module provides portable interfaces to operating-system functionality, including filesystem operations.
- printThe Python print function writes text or other values to standard output.
- data storageData storage is the retention of program data so that it can be retrieved after or beyond the current execution.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.
