Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Introduction to Programming Using Python
Rating: 3.7 out of 5(2 ratings)
9 students

Introduction to Programming Using Python

Programming at its best
Last updated 4/2023
English

What you'll learn

  • Understand the basic concepts of programming and the Python programming language
  • Write and execute Python programs using variables, data types, and control structures
  • Create and use functions to perform specific tasks
  • Understand and use Python modules to extend functionality
  • Read and write files in Python
  • Use Python libraries such as NumPy and Pandas for data analysis
  • Debug and troubleshoot common errors in Python programs
  • Apply programming concepts to solve real-world problems

Course content

1 section26 lectures9h 41m total length
  • Overview4:12
  • Working with Primitive Data Types26:47

    Learn how to work with primitive data types in Python, including booleans, strings, integers, and floats, using variables, assignment, and printing in IDLE.

  • Working with Multiple Assignment Statements22:29
  • Converting Types in Python30:16
  • Creating Lists24:24
  • Modifying Lists18:39
  • Sorting and Reversing Lists22:28
  • Slicing Lists18:04

    Explore Python list slicing to select ranges and create shallow copies without mutating original. Learn start, end, and step, inclusive/exclusive boundaries, and how to reverse or take every other element.

  • Working with Operators29:11
  • Determining Operator Precedence23:27
  • Working with If Statements20:26
  • Using Compound Conditional Expressions25:16
  • Working with For Loops24:22

    Understand Python for loops through iterating over lists, using range for counts, and enumerate for index and value, then apply input and break to build a guessing game.

  • Working with While Loops19:29
  • Nesting For Loops19:47
  • Reading Files21:41
  • Copying Files17:05

    Copy files in Python by reading from a source and writing to a destination, exploring write and append modes, clobbering versus appending, and line-by-line copying.

  • Merging Mails18:09
  • Reading Console Inputs and Formatting Outputs27:43
  • Reading Command Line Arguments23:50
  • Defining Functions23:33
  • Using Default Arguments13:05
  • Using Keyword and Positional Arguments25:37
  • Handling Exceptions24:21

    Learn to handle exceptions in Python by catching specific errors such as ZeroDivisionError and NameError, logging incidents, and using finally for cleanup, while avoiding swallowing errors.

  • Using Math and Random Modules26:58
  • Display Datetime Working Directory File Metadata29:41

    Explore how to display datetime, working directory, and file metadata using Python's os and datetime modules, including os.getcwd, os.listdir, os.stat, and path handling.

Requirements

  • This course assumes no prior knowledge of programming and is designed to provide a solid foundation in Python programming. However, it can also be useful for those who have some programming experience in other languages and want to learn Python as well.

Description

The Introduction to Programming Using Python course is designed to provide beginners with a comprehensive understanding of Python programming. This hands-on course focuses on core programming concepts and empowers learners to write functional Python code for a variety of applications. Starting with the basics, participants will learn how to work with primitive data types, perform type conversions, and understand Python’s powerful assignment operations.

The course delves into lists, teaching learners how to create, modify, sort, reverse, and slice lists effectively. Additionally, participants will gain a solid grasp of operators, operator precedence, and conditional statements, including working with compound conditionals using if statements. Understanding loops, such as for and while loops, will be essential for automating repetitive tasks, and learners will explore how to nest loops to solve more complex problems.

A key aspect of the course is file handling. Participants will learn how to read and write files, copy them, and even merge emails using Python. Input and output handling is also covered, enabling learners to interact with users via the console and format outputs as needed.

The course further explores defining and calling functions, using default, keyword, and positional arguments, and handling exceptions to make code more resilient. Learners will also discover how to use Python’s math and random modules, as well as how to display the current date, time, and file metadata.

By the end of the course, learners will be ready to develop basic Python applications and tackle programming challenges with confidence.

This course is ideal for beginners in programming and those seeking to gain practical skills in Python for various applications, including data analysis, web development, and automation.

Who this course is for:

  • Students who are new to programming and want to learn the fundamentals of programming using Python.
  • Professionals who want to add programming skills to their toolkit and improve their job prospects.
  • Hobbyists who want to learn to code for fun and create projects using Python.
  • Anyone who wants to learn to code and understands the importance of Python as a versatile and powerful programming language.