APT Contents
APT Contents
AND
String Manipulations:
Subscript Operator
Slicing for Substrings
in Operator
Caesar Cipher Encryption/Decryption Method
Converting Binary to Decimal
Converting Decimal to Binary
String Methods: center, count, endswith, find, isalpha, isdigit, join,
lower, replace, split, startswith, strip, upper
Text Files:
Writing Text to a File
Writing Numbers to a File
Reading Text from a File
Reading Numbers from a File
File Operations: open, close, write, read, readline
os Module Function: chdir, getcwd, listdir, remove, rename, rmdir,
sep
os.path Module Function: exists, isdir, isfile
Lists, tuples, and dictionaries:
List Literals and Basic Operators
Replacing an Element in a List
List Methods: append, extend, insert, pop
Searching a List
Mutator Methods and the Value None
Aliasing and Side Effects
Equality: Object Identity and Structural Equivalence
Tuples
Dictionary Literals
Adding Keys and Replacing Values
Accessing Values
Removing Keys
Traversing a Dictionary
Dictionary Operations: len, get, pop, list, keys, values, items, clear
Design with functions:
Defining Simple Functions
The Syntax of Simple Function Definitions
Parameters and Arguments
The return Statement
Boolean Functions
Defining a main Function
Recursive Function
The Costs and Benefits of Recursion
Module variables, parameters, temporary variables, method
names, scope, lifetime
Simple Graphics and Image Processing:
Overview of turtle Graphics
Turtle Operations: home, up, down, setheading, left, right, goto,
forward, pencolor, fillcolor, begin_fill, end_fill, clear, width,
hideturtle, showturtle, position, heading, isdown, bgcolor
Object Instantiation and the turtle Module
Drawing Two-Dimensional Shapes
Drawing Two-Dimensional Shapes
Image-Manipulation Operations: Convert an image from color to
grayscale, gaussian blur, canny edge detection, playing video
Classes and OOP: classes, objects, attributes and methods;
defining classes; design with classes, inheritance, polymorphism,
operator overloading (_eq_,_str_, etc); abstract classes; exception
handling, try block
GUI: event-driven programming paradigm; tkinter module,
creating simple GUI; buttons, labels, entry fields; widget attributes
- sizes, fonts, colors, Changing the window title, window size, and
location, geometry methods