SkillsBooster Academy

Introduction to Python for Beginners

在這個單身日致力於職業發展。 享受全年的 Coursera Plus,享受 40% 的折扣。

SkillsBooster Academy

Introduction to Python for Beginners

Anton Voroniuk

位教师:Anton Voroniuk

顶尖授课教师

包含在 Coursera Plus了解更多 中

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

推荐体验

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

推荐体验

5 小时 完成
灵活的计划
自行安排学习进度

您将学到什么

  • Write, debug, and run Python scripts from the terminal to automate repetitive tasks and manage data using lists, dictionaries, and files.

  • Build reusable functions and deploy a simple web application with Flask while applying essential security practices to your code.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

August 2026

作业

2 项作业

授课语言:英语(English)

该课程共有7个模块

Wondering how to install Python on your own computer and actually get a program to run, without breaking anything and without paying for software? This module answers exactly that question.By the end of this module you will write, run, and debug your own Python script on your own machine. You'll install Python 3 and execute a .py file from the terminal, store information in variables using the int, float, str, and bool data types, format text output with f-strings, and read a Python traceback well enough to fix the error it names.This module is designed for absolute beginners who have never written a line of code and want a working Python environment today. No prior programming experience is required and no paid tools are needed - Python and VS Code are free and open source. The module is fully self-contained: every file you need is attached, so it does not depend on any other module in this course.You'll finish with a configured Python setup plus a working, debugged profile script saved on your computer, ready to grow into your own tools.

涵盖的内容

5个视频2篇阅读材料1个非评分实验室

Wondering how to make a Python program ask the user a question, decide what to do with the answer, and keep asking until the answer is valid? This module answers exactly that question.By the end of this module you will build an interactive Python program that validates user input against a set of rules and repeats until the input passes. You'll collect answers with input(), format results with print(), write if, elif, and else branches, combine conditions with and, or, and not, repeat work with for and while loops, and take precise control of a loop using break and continue.This module is designed for beginners who want their programs to respond differently in different situations - a discount rule, a validation check, a retry loop - and for anyone automating a repetitive manual task. It is fully self-contained: a starter file and a two-minute recap of variables and printing are attached, so no earlier module is required, and everything runs on a plain Python 3 install with no extra packages.You'll finish with a working password checker you can drop into any project.

涵盖的内容

6个视频1篇阅读材料1个非评分实验室

Wondering how to hold a list of customers, a set of unique tags, or a table of settings in Python instead of twenty separate variables? This module answers exactly that question. By the end of this module you will store, retrieve, update, and delete real records using Python's built-in collections. You'll create and slice lists, protect values that must not change with tuples, strip duplicates with sets, map keys to values with dictionaries, and loop through any collection to add, remove, count, or transform its items. This module is designed for beginners and analysts who can already run a Python script and now need to handle more than one value at a time - contact lists, survey answers, inventory, configuration files. It stands entirely on its own: a starter file loaded with sample data is attached, so no earlier module is required. Nothing here needs an external library; every structure used ships with Python 3. You'll finish with a clear decision rule for choosing between a list, a tuple, a set, and a dictionary in your own projects, plus a reference note-taking app you can reuse.

涵盖的内容

6个视频1篇阅读材料

Wondering how to stop copying and pasting the same block of Python code and turn it into something you can call by name whenever you need it? This module answers exactly that question. By the end of this module you will build a small command-line utility assembled from your own functions plus Python's standard library. You'll define functions with def, pass data in through positional and keyword arguments, set sensible default values, return results instead of printing them, and import ready-made tools from math, random, and datetime rather than writing that logic yourself. This module is designed for beginners whose scripts have grown long and repetitive, and for anyone who wants to build small reusable tools instead of one-off files. It is fully self-contained: a starter script and a short syntax recap are attached, so no earlier module is required. No frameworks and no installations beyond Python 3 are needed - the standard library ships with the language. You'll finish with a working utility you can run from your terminal any time, and with the habit of splitting a problem into named, testable pieces.

涵盖的内容

5个视频1篇阅读材料1个非评分实验室

Wondering how to make Python open a real file from your computer and turn it into something useful - counts, a summary, a cleaned-up report? This module answers exactly that question. By the end of this module you will write a script that reads a text file, extracts the information you care about, and writes a summary back to disk. You'll open files in read, write, and append mode, use the with statement so files always close properly, walk through a file line by line, split and strip text, count words and patterns, and handle the file-not-found error that breaks most beginner scripts. This module is designed for beginners, analysts, and office professionals who want Python to process logs, exports, notes, and reports instead of doing it by hand. It stands on its own: sample data files and a starter script are attached, so no earlier module is required. Everything runs on a plain Python 3 install - no pandas and no external packages. You'll finish with a reusable text analyzer and a generated report file you can show as proof of work.

涵盖的内容

4个视频1篇阅读材料

Wondering how to take Python off your laptop and put it on the internet as a real website that anyone can open in a browser? This module answers exactly that question. By the end of this module you will deploy a working Flask web application to a public URL. You'll install Flask, create routes that map a web address to a Python function, return dynamic content, pass data from Python into an HTML page with Jinja templates, run the development server locally, and publish the finished app on a free hosting platform such as Render or PythonAnywhere. This module is designed for beginners who can write a basic Python script and want a portfolio piece they can send to an employer, and for professionals who want to wrap an existing script in a simple interface. It is fully self-contained: a working starter app, a requirements file, and a base template are attached, so no earlier module is required. Everything runs on free tiers, and no server administration or front-end experience is expected. You'll finish with a live web app URL, its source code, and a repeatable deployment checklist.

涵盖的内容

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

Wondering what separates code that merely runs from code you would be comfortable putting in front of real users - and what to learn next once the basics are behind you? This module answers exactly that question. By the end of this module you will be able to assess a small Python project for security and quality risks and name the fix for each one. You'll see how hardcoded API keys and passwords leak through public repositories, why unvalidated user input is the root of most beginner vulnerabilities, what makes eval() and unpinned dependencies dangerous, how virtual environments and pip supply-chain attacks work, and how to review code that an AI assistant wrote for you before you ship it. This module is designed for anyone finishing a first Python course and for self-taught developers who want to close the gap between tutorials and professional practice. It is entirely theoretical: no coding, no setup, and no earlier module is required, so it can be taken first if you simply want the landscape. You'll finish with a personal Python security checklist and a realistic picture of where Python is heading - type hints, performance work, data engineering, and AI-assisted development.

涵盖的内容

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

位教师

Anton Voroniuk
顶尖授课教师
SkillsBooster Academy
132 门课程131,013 名学生

提供方

是什么让您今天来到 Coursera?

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

Felipe M.

自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'

Jennifer J.

自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'

Larry W.

自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'

Chaitanya A.

''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'

常见问题

⌂ 换网址