Packt
Python Basics and Core Concepts
Packt

Python Basics and Core Concepts

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
初级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
初级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • Set up and run Python in various environments, including PyCharm and online editors.

  • Work with Python’s core data types, including strings, lists, tuples, and dictionaries.

  • Write and use functions, including built-in Python functions and custom functions.

  • Apply Python’s PEP 8 guidelines for code formatting and structure.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

September 2025

作业

23 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

积累特定领域的专业知识

本课程是 Python - Complete Python, Django, Data Science and ML Guide 专项课程 专项课程的一部分
在注册此课程时,您还会同时注册此专项课程。
  • 向行业专家学习新概念
  • 获得对主题或工具的基础理解
  • 通过实践项目培养工作相关技能
  • 获得可共享的职业证书

该课程共有21个模块

In this module, we will introduce you to Python, covering everything from setting up your coding environment to exploring Python's core features. You'll learn how to install Python, use different development tools, and begin experimenting with Python through the interactive interpreter.

涵盖的内容

5个视频2篇阅读材料1个作业

In this module, we will guide you through installing and setting up PyCharm, a powerful Python IDE. You'll become familiar with the interface, learn how to manage projects, and understand key features that enhance your coding workflow.

涵盖的内容

2个视频1个作业1个插件

In this module, we will cover the foundational concepts of Python, focusing on the object-oriented paradigm and key data types. You'll practice working with strings, integers, booleans, lists, and dictionaries, gaining a strong understanding of Python's structure and functionality.

涵盖的内容

3个视频1个作业1个插件

In this module, we will introduce you to functions in Python, covering both custom and built-in functions. You’ll learn how to define functions, pass arguments, use the return statement, and explore important built-in functions to enhance your coding efficiency.

涵盖的内容

6个视频1个作业1个插件

In this module, we will focus on code formatting and the PEP 8 style guide, which helps ensure clean, readable, and consistent code. You’ll learn about proper indentation, how to follow Python’s best practices, and how to enable auto-formatting in PyCharm for seamless coding.

涵盖的内容

4个视频1个作业1个插件

In this module, we will explore the role of comments in Python programming, focusing on their significance for clarity and collaboration. You’ll practice adding comments to your code to ensure it remains understandable and easy to maintain.

涵盖的内容

2个视频1个作业1个插件

In this module, we will dive into the concepts of expressions and statements in Python. You'll learn how expressions represent values and perform operations, while statements control the logic and flow of your program. Through practical exercises, you'll gain hands-on experience in using both expressions and statements.

涵盖的内容

4个视频1个作业1个插件

In this module, we will introduce you to the concept of variables in Python. You’ll learn how variables store data and explore various types used in Python. Through hands-on exercises, you'll gain experience defining and working with variables to manage and manipulate data in your programs.

涵盖的内容

2个视频1个作业1个插件

In this module, we will dive deep into Python’s dynamic typing system, explore core data types and structures, and demonstrate how to manage and manipulate data effectively. Through practical exercises, you'll gain valuable experience working with Python’s built-in functions and data classes.

涵盖的内容

6个视频1个作业1个插件

In this module, we will dive into Python strings, emphasizing their immutability and how they are handled as objects. You’ll learn essential string methods and gain hands-on experience working with strings, including creating, modifying, and using various string operations in Python.

涵盖的内容

3个视频1个作业1个插件

In this module, we will dive into string concatenation techniques in Python. You’ll learn how to use the + operator and discover F-strings for more efficient and readable formatting. We will also explore other methods for formatting strings, helping you choose the best option for your coding needs.

涵盖的内容

4个视频1个作业1个插件

In this module, we will explore Python’s numeric types, including integers, floating-point numbers, and complex numbers. You’ll practice working with these types, from basic arithmetic operations to more advanced concepts like rounding floats and handling complex numbers.

涵盖的内容

5个视频1个作业1个插件

In this module, we will focus on Boolean values in Python, exploring their role in logical operations and comparisons. You’ll also practice type conversion, learning how to handle different data types effectively and prevent errors in your programs.

涵盖的内容

3个视频1个作业1个插件

In this module, we will dive into magic methods in Python, which allow implicit operations between different types. You'll also learn how to use the dir() function to access attributes and methods, including magic methods, enhancing your ability to work with Python’s object-oriented features.

涵盖的内容

2个视频1个作业1个插件

In this module, we will focus on Python lists, exploring their structure, key methods, and how to modify and access elements. You’ll practice copying lists, manipulating their contents, and applying your knowledge to real tasks that involve working with lists in Python.

涵盖的内容

6个视频1个作业1个插件

In this module, we will dive deep into Python dictionaries, focusing on their creation, manipulation, and methods. You'll explore nested dictionaries, use the get() method for error handling, and practice converting other types into dictionaries. Finally, you’ll apply your skills in a practical task that involves user input and dictionary manipulation.

涵盖的内容

7个视频1个作业1个插件

In this module, we will focus on Python tuples, exploring their structure, immutability, and when to use them. You’ll practice creating and accessing tuples, as well as using built-in methods to work with tuple data effectively.

涵盖的内容

2个视频1个作业1个插件

In this module, we will explore Python sets, a powerful data structure that ensures uniqueness and enables efficient data manipulation. You'll practice set operations, explore essential set methods, and work through practical examples to deepen your understanding of sets in Python.

涵盖的内容

7个视频1个作业1个插件

In this module, we will dive into Python's Range class, focusing on its use in iteration and loop operations. You’ll practice creating and working with ranges, and explore various methods and attributes to manipulate and analyze sequences of numbers.

涵盖的内容

3个视频1个作业1个插件

In this module, we will focus on working with sequences in Python, exploring essential functions and operations. You'll learn how to manipulate sequences, use the zip() function to merge and convert data, and compare different sequence types to choose the best one for your needs.

涵盖的内容

5个视频1个作业1个插件

In this module, we will explore how Python handles the modification of objects, focusing on mutable and immutable types. You’ll learn techniques for preventing unintended changes by creating deep copies of objects, ensuring independence in your data structures and maintaining clean memory management.

涵盖的内容

4个视频1篇阅读材料3个作业1个插件

获得职业证书

将此证书添加到您的 LinkedIn 个人资料、简历或履历中。在社交媒体和绩效考核中分享。

位教师

Packt - Course Instructors
Packt
971 门课程234,954 名学生

提供方

Packt

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题