Python Simplified
Introduction
Introduction
Basics
Key Terms
Variables
Data Types
Type Conversion
Quotes
Numeric Operations
Assignment Operations
Input Function
Variable Key Terms
Conditions
Comparison Operations
Boolean Operations
Bitwise Operations
If Statement
Try Statement
Except Statement
Conditions Key Terms
Loops
While Statement
For Statement
Range Function
Break Statement
Continue Statement
Nested Loops
loops Key Terms
Functions
Built-In Functions
User-Defined Functions
Local Variables
Global Variables
Nonlocal Variables
Parameters
Parameter Validation
Assertions
Variable Arguments
Variable Named Arguments
Docstring
Recursion Example
Functions Key Words
Strings
Python Strings
Membership Comparisons
String Methods
String Parsing
String Formatting
Method str.format() Function
Method len() function
Strings Key words
Python Lists
LIsts
Index
Concatenation
Slicing
Mutable
Multidimensional
Methods
Stacks and Queues
Split
Python Lists Keywords
Python Dictionaries
Dictionaries
Dictionary Updates
Multidimensional Dictionaries
Looping
Sorting by Key
Sorting by Value
Dictionary as Return Value
Dictionaries Key Words
Tuples and Sets
Data Structures
Data Types
Functions
Mutability
Order
Duplication
Looping
Index
Tuple Assignment
Set Operations
Key Terms
Classes
Class Definition
Class Instantiation
Class Attributes
Class Methods
Class Initialization
Class Example
Inheritance
Inheritance Example
Key Terms
Python Modules
Modules
The import Statement
The from import Statement
Module Name
RegEx
The match() Method
The search() Method
Greedy vs. Non-greedy
The findall() Method
The sub() Method
The split() Method
The compile() Method
Match Groups
Key Terms
Files
The os.getcwd() Method
The os.chdir() Method
The os.path.isdir() Method
The os.path.join() Method
The os.mkdir() Method
The os.rmdir() Method
The os.walk() Method
The os.path.isfile() Method
The open() Function
The file.write() Method
The file.close() Method
The file.read() Method
Reading Lines
The file.tell() Method
The file.seek() Method
The os.rename() Method
The os.remove() Method
The sys.argv Property
Key Terms
Internet Data
The urllib.request.urlopen() Method
The xml.etree.ElementTree.fromstring() Method
The xml.etree.ElementTree.ElementTree() Method
The xml.etree.ElementTree.iter() Method
The json.loads() Method
The smtplib Module
Key Terms
Powered by
GitBook
Class Instantiation
Class Instantiation
Classes are instantiated using the syntax:
variable = ClassName()
results matching "
"
No results matching "
"