Python Programming: Introduction
Though Python® has been in use for nearly thirty years, it has become one of the most popular languages for software development, particularly within the fields of data science, machine learning, artificial intelligence, and web development—all areas in which Python is widely used.
You will learn elements of the Python 3 language and development strategies by creating a complete program that performs a wide range of operations on a variety of data types, structures, and objects, implements program logic through conditional statements and loops, structures code for reusability through functions, classes, and modules, reads and writes files, and handles error conditions.
In this course, you will develop simple command-line programs in Python.
- Set up Python and develop a simple application.
- Declare and perform operations on simple data types, including strings, numbers, and dates.
- Declare and perform operations on data structures, including lists, ranges, tuples, dictionaries, and sets.
- Write conditional statements and loops.
- Define and use functions, classes, and modules.
- Manage files and directories through code.
- Deal with exceptions.
- To ensure your success in the course, Some experience programming in an object-oriented language is helpful, but even if you don’t have such experience, this course can be useful to those that are new to programming and you should have at least a foundational knowledge of personal computer use
Topic A: Set Up the Development Environment
Topic B: Write Python Statements
Topic C: Create a Python Application
Topic D: Prevent Errors
Topic A: Process Strings and Integers
Topic B: Process Decimals, Floats, and Mixed Number Types
Topic A: Process Ordered Data Structures
Topic B: Process Unordered Data Structures
- Topic A: Write a Conditional Statement
Topic B: Write a Loop
Topic A: Define and Call a Function
Topic B: Define and Instantiate a Class
Topic C: Import and Use a Module
Topic A: Write to a Text File
Topic B: Read from a Text File
Topic C: Get the Contents of a Directory
Topic D: Manage Files and Directories
Topic A: Handle Exceptions
Topic B: Raise Exceptions