This course introduces the basics of programming using the Python language, a powerful and versatile tool in software development. Python’s simplicity makes it an excellent choice for beginners, offering a strong foundation for future programming tasks in various domains such as web development, data science, and automation.
享受 3 個月的 Coursera Plus 40% 的折扣,節省讓您 閃耀的技能。立即保存

推荐体验
推荐体验
初级
Ideal for beginners with no prior programming knowledge. Basic computer skills are required.
推荐体验
推荐体验
初级
Ideal for beginners with no prior programming knowledge. Basic computer skills are required.
您将学到什么
Understand and apply basic Python data types and operations in programming.
Create and modify lists, use loops, and implement conditional logic in Python.
Write and utilize custom functions to improve code reusability and organization.
您将获得的技能
要了解的详细信息

添加到您的领英档案
May 2026
25 项作业
了解顶级公司的员工如何掌握热门技能

该课程共有25个模块
In this module, we will introduce the Python programming language and cover its essential features. We’ll explore basic data types such as strings, integers, and booleans. You will also learn how to assign variables and apply basic operations, setting the foundation for building your Python programming skills.
涵盖的内容
2个视频1篇阅读材料
2个视频•总计31分钟
- Overview•4分钟
- Working with Primitive Data Types•27分钟
1篇阅读材料•总计10分钟
- Full Course Resources•10分钟
In this module, we will dive into efficient variable assignment techniques, focusing on using multiple assignment statements. You will learn how to combine variable definition and assignment for related variables, making your code cleaner and more efficient.
涵盖的内容
1个视频1个作业
1个视频•总计22分钟
- Working with Multiple Assignment Statements•22分钟
1个作业•总计15分钟
- Efficient Variable Assignment Techniques - Assessment•15分钟
In this module, we will explore how to convert data between different types in Python, such as converting strings to integers. We will also address common issues that arise during conversions and provide tips on when and why type conversions are necessary in your programs.
涵盖的内容
1个视频1个作业
1个视频•总计30分钟
- Converting Types in Python•30分钟
1个作业•总计15分钟
- Data Type Conversion in Python - Assessment•15分钟
In this module, we will introduce the list data type, one of Python’s most important structures. You’ll learn how to create lists, use list indexing, and understand their use in handling collections of data effectively.
涵盖的内容
1个视频1个作业
1个视频•总计24分钟
- Creating Lists•24分钟
1个作业•总计15分钟
- Introduction to List Creation - Assessment•15分钟
In this module, we will continue exploring lists by demonstrating how to modify them. You will learn how to delete and change elements, as well as how to update sections of lists for more advanced data manipulation.
涵盖的内容
1个视频1个作业
1个视频•总计19分钟
- Modifying Lists•19分钟
1个作业•总计15分钟
- Techniques for Modifying Lists - Assessment•15分钟
In this module, we will examine sorting and reversing lists in Python. You will learn how to arrange list elements in a specified order and reverse them, gaining an essential skill for manipulating data effectively.
涵盖的内容
1个视频1个作业
1个视频•总计22分钟
- Sorting and Reversing Lists•22分钟
1个作业•总计15分钟
- Sorting and Reversing List Elements - Assessment•15分钟
In this module, we will explore list slicing, an essential technique for accessing sublists. You will learn how to use slice syntax to extract specific portions of a list and apply these techniques to real-world data retrieval problems.
涵盖的内容
1个视频1个作业
1个视频•总计18分钟
- Slicing Lists•18分钟
1个作业•总计15分钟
- List Slicing Techniques - Assessment•15分钟
In this module, we will examine various Python operators, focusing on mathematical and comparison operators. You will learn how to perform calculations and comparisons, building the foundation for complex logic in your programs.
涵盖的内容
1个视频1个作业
1个视频•总计29分钟
- Working with Operators•29分钟
1个作业•总计15分钟
- Mastering Python Operators - Assessment•15分钟
In this module, we will delve into operator precedence and the order of operations in Python. You will learn how expressions are evaluated and how to structure your code for clarity and accuracy using parentheses when necessary.
涵盖的内容
1个视频1个作业
1个视频•总计23分钟
- Determining Operator Precedence•23分钟
1个作业•总计15分钟
- Understanding Operator Precedence - Assessment•15分钟
In this module, we will introduce if statements as a way to create conditional logic in your programs. You will learn how to handle different outcomes with else and elif statements to add decision-making capabilities to your code.
涵盖的内容
1个视频1个作业
1个视频•总计20分钟
- Working with If Statements•20分钟
1个作业•总计15分钟
- Conditional Logic with If Statements - Assessment•15分钟
In this module, we will extend the use of conditional logic by introducing compound conditional expressions. You will learn how to test multiple conditions using logical operators and refine your decision-making logic in Python.
涵盖的内容
1个视频1个作业
1个视频•总计25分钟
- Using Compound Conditional Expressions•25分钟
1个作业•总计15分钟
- Advanced Conditional Expressions - Assessment•15分钟
In this module, we will introduce for loops as a tool to iterate over data collections. You will learn how to automate repetitive tasks and efficiently process elements in data structures such as lists and ranges.
涵盖的内容
1个视频1个作业
1个视频•总计24分钟
- Working with For Loops•24分钟
1个作业•总计15分钟
- Iterating with For Loops - Assessment•15分钟
In this module, we will explore while loops and how they differ from for loops. You will learn how to control loop execution with conditions and avoid common pitfalls such as infinite loops.
涵盖的内容
1个视频1个作业
1个视频•总计19分钟
- Working with While Loops•19分钟
1个作业•总计15分钟
- Looping with While Constructs - Assessment•15分钟
In this module, we will explore nested for loops, which allow you to handle more complex iteration tasks. You will learn how to write and optimize nested loops, understanding their performance considerations in larger programs.
涵盖的内容
1个视频1个作业
1个视频•总计20分钟
- Nesting For Loops•20分钟
1个作业•总计15分钟
- Complex Iterations with Nested For Loops - Assessment•15分钟
In this module, we will focus on reading files in Python. You will learn how to open and read file contents using basic Python functions, along with the importance of managing file resources safely using context managers.
涵盖的内容
1个视频1个作业
1个视频•总计22分钟
- Reading Files•22分钟
1个作业•总计15分钟
- File Reading Techniques in Python - Assessment•15分钟
In this module, we will explore how to write to files and copy files in Python. You will understand the difference between various file modes and apply these techniques to automate file copying tasks.
涵盖的内容
1个视频1个作业
1个视频•总计17分钟
- Copying Files•17分钟
1个作业•总计15分钟
- File Copying Methods - Assessment•15分钟
In this module, we will automate email merging to send personalized emails. You’ll learn how to work with lists and files to generate dynamic email content, which you can send to multiple recipients at once.
涵盖的内容
1个视频1个作业
1个视频•总计18分钟
- Merging Mails•18分钟
1个作业•总计15分钟
- Automating Email Merges - Assessment•15分钟
In this module, we will look at reading inputs from the console and formatting outputs for user readability. You will gain hands-on experience in handling user data and displaying it in an organized and understandable manner.
涵盖的内容
1个视频1个作业
1个视频•总计28分钟
- Reading Console Inputs and Formatting Outputs•28分钟
1个作业•总计15分钟
- Handling Console Inputs and Outputs - Assessment•15分钟
In this module, we will explore handling command-line arguments in Python. You will learn how to build Python tools that accept and process input directly from the command line to enhance your programs' functionality.
涵盖的内容
1个视频1个作业
1个视频•总计24分钟
- Reading Command Line Arguments•24分钟
1个作业•总计15分钟
- Processing Command Line Arguments - Assessment•15分钟
In this module, we will dive into defining custom functions, one of the core features of Python. You will learn how to create functions to break your code into reusable components, making your code more efficient and maintainable.
涵盖的内容
1个视频1个作业
1个视频•总计24分钟
- Defining Functions•24分钟
1个作业•总计15分钟
- Creating Custom Functions - Assessment•15分钟
In this module, we will explore the concept of default arguments. You will learn how to provide default values for function parameters, making your functions more flexible and user-friendly.
涵盖的内容
1个视频1个作业
1个视频•总计13分钟
- Using Default Arguments•13分钟
1个作业•总计15分钟
- Implementing Default Arguments in Functions - Assessment•15分钟
In this module, we will discuss keyword and positional arguments in Python functions. You will learn how to use both types of arguments effectively and when each is the best choice for making your code clear and easy to understand.
涵盖的内容
1个视频1个作业
1个视频•总计26分钟
- Using Keyword and Positional Arguments•26分钟
1个作业•总计15分钟
- Working with Keyword and Positional Arguments - Assessment•15分钟
In this module, we will cover exception handling in Python using try-except blocks. You will learn how to catch and manage runtime errors to keep your programs running smoothly, and when it's appropriate to let an error stop the program.
涵盖的内容
1个视频1个作业
1个视频•总计24分钟
- Handling Exceptions•24分钟
1个作业•总计15分钟
- Exception Handling in Python - Assessment•15分钟
In this module, we will introduce Python’s math and random modules. You will learn how to use these standard libraries to handle complex mathematical operations and generate random data for your applications.
涵盖的内容
1个视频1个作业
1个视频•总计27分钟
- Using Math and Random Modules•27分钟
1个作业•总计15分钟
- Exploring the Math and Random Modules - Assessment•15分钟
In this module, we will explore how to use Python’s datetime and os modules. You’ll learn to manage file metadata and perform time-based tasks in your programs, improving the utility and efficiency of your code.
涵盖的内容
1个视频2个作业
1个视频•总计30分钟
- Display Datetime Working Directory File Metadata•30分钟
2个作业•总计75分钟
- Full Course Practice Assessment•15分钟
- Full Course Assessment•60分钟
位教师

提供方

提供方

Packt helps tech professionals put software to work by distilling and sharing the working knowledge of their peers. Packt is an established global technical learning content provider, founded in Birmingham, UK, with over twenty years of experience delivering premium, rich content from groundbreaking authors on a wide range of emerging and popular technologies.
从 Software Development 浏览更多内容
状态:预览预览UUniversity of Leeds
课程
状态:免费试用免费试用
PPackt
课程
状态:免费试用免费试用UUniversity of Pennsylvania
课程
人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
常见问题
Python is a versatile and widely-used programming language known for its readability and ease of use. It is used in various fields such as web development, data science, automation, artificial intelligence, and more. Learning Python is relevant today because it opens up opportunities in many in-demand industries and is beginner-friendly for anyone new to programming.
This course, "Introduction to Programming Using Python," provides a foundational understanding of Python programming. It covers key concepts such as working with data types, variables, loops, conditionals, functions, file handling, and error handling. By the end of the course, learners will have the skills to write basic Python programs and work with different Python constructs effectively.
After completing this course, you will be able to write Python programs, manipulate data types, use loops and conditionals for decision-making, handle exceptions, and work with files. You will also be able to build small projects and perform automation tasks using Python, which can be useful in both personal and professional settings.
No prior programming experience is required to enroll in this course. The course is designed for beginners and will start with basic programming concepts. However, basic computer skills, such as using text editors or understanding how to navigate a computer, will be helpful.
This course is ideal for beginners who are interested in learning Python programming. It is also suitable for individuals who may have some experience in other programming languages but want to learn Python. Whether you're looking to pursue a career in tech or just develop programming skills for personal use, this course provides the foundational knowledge you need.
The course consists of 10 hours of video content, which can be completed at your own pace. The actual time it takes to finish may vary depending on how much time you dedicate to practice and completing exercises alongside the video content.
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.
This course is currently available only to learners who have paid or received financial aid, when available.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.
更多问题
提供助学金,



