Sophie’s Reviews > Murach's Python Programming: Beginner to Pro > Status Update

Sophie
Sophie is on page 192 of 553
- Two-dimensional list: to use a list of lists to store data in a grid of rows and columns.
- Shallow copy of a list: both variables refer to the same list. Any changes to one variable are reflected in the other variable.
- Deep copy of a list: both variables refer to their own copy of the list.
Aug 16, 2021 04:35PM
Murach's Python Programming: Beginner to Pro

flag

Sophie’s Previous Updates

Sophie
Sophie is on page 366 of 553
Aug 18, 2021 05:14PM
Murach's Python Programming: Beginner to Pro


Sophie
Sophie is on page 210 of 553
file I/O:
Difference between txt & csv:
I. separators
1. txt has only /n (new line caracters) as separators.
2. csv can be used to store several items of data on a single line:
1) row (record) ends with /n.
2) row consists of columns (fields) which separated by commas.

II. import csv module to use the functions and objects.
Aug 18, 2021 04:50PM
Murach's Python Programming: Beginner to Pro


Sophie
Sophie is on page 195 of 553
Aug 16, 2021 04:36PM
Murach's Python Programming: Beginner to Pro


Sophie
Sophie is on page 189 of 553
1. Tuples are immutable, unlike lists.
2. When you know the items won't be changed, to be more efficient, you should use a tuple instead of list.
Aug 16, 2021 04:28PM
Murach's Python Programming: Beginner to Pro


Sophie
Sophie is on page 188 of 553
Aug 16, 2021 04:22PM
Murach's Python Programming: Beginner to Pro


Sophie
Sophie is on page 143 of 553
Three types of errors that can occur:
- Syntax errors: aka compile-time errors, violate the rules for how Python statements must be written.
- Runtime errors: can't be detected until running the program. They throw exceptions that stop the execution of the program.
- Logic errors: produce the wrong results.
Aug 16, 2021 03:39PM
Murach's Python Programming: Beginner to Pro


Sophie
Sophie is on page 143 of 553
- The goal of testing: try every possible combination to make the program fail.
- The goal of debugging: to fix all errors.
Aug 16, 2021 03:35PM
Murach's Python Programming: Beginner to Pro


Sophie
Sophie is on page 142 of 553
Aug 16, 2021 02:35PM
Murach's Python Programming: Beginner to Pro


Sophie
Sophie is on page 28 of 553
#! shebang: to determine what interpreter to use to run the program.
#!/usr/bin/env python3
Aug 16, 2021 02:06PM
Murach's Python Programming: Beginner to Pro


Sophie
Sophie is on page 11 of 553
How Python compiles and runs source code:
code editor -> source code (.py files) -> Python interpreter -> bytecode (the whole piece of code) -> Python virtual machine -> operating system
Aug 16, 2021 12:04PM
Murach's Python Programming: Beginner to Pro


No comments have been added yet.