Pycharm Edu 自带入门教程:Getting Started for Students

Win10下安装PyCharm教育版 PyCharm是一个用于Python编程的集成开发环境。如果你想在PyCharm中编辑和运行你的项目,你需要先安装它。 阅读详情
On this page:
  • 1、The first start
  • 2、Creating an educational project
  • 3、Lesson 1. First Program and Comments
  • 4、Executing a task
  • 5、Navigating between tasks
  • 6、Starting a task all over again
  • 7、Getting task hints
  • 8、Navigating between answer placeholders
  • 9、Using Python console
  • 10、How to reset the entire course?
  • 11、Adaptive courses
  • 12、Summary
Overview

This guide aims to help the students get a grip of PyCharm Edu and pass through the initial course of Python programming.

The first start

Having launched PyCharm Edu, you see the Welcome screen first. Here, choose the very first option Introduction to Python. PyCharm Edu silently creates a project, and opens it.

Now look at the new project:

Where (1) is the Project tool window that shows the project itself, (2) is the editor, (3) is theTask Description tool window with the course progress bar (4) , (5) is the Run tool window and (6) is the Python Console tool button.

To learn what is a tool window and how to handle it, refer to the corresponding sections of the documentation.

As you see, the Project tool window contains the following major entities:

  • Lessons, marked lesson. When a lesson is completed, its icon changes to lesson_completed.
  • Tasks, marked task . When a task is completed, its icon changes to task_complete
  • Python files, markedpythonScript, and all other file types, supported by PyCharm Edu.
  • Sandbox, where you can create files and folders of your choice.

Creating an educational project

By the way, when you feel yourself better with Python, you can create an educational project yourself. To do this, just choose File | New Project... on the main menu, and follow the steps of the wizard.

This procedure is described in the corresponding section of this documentation.

As an exercise, let's explore the first lesson and fulfil its tasks.

Lesson 1. First Program and Comments

Expand the Introduction lesson lesson. To do that, click right arrow arrow_right_1 next to lesson name. You see the nested tasks task:

intro_to_python

Click arrow_right_1 next to the first task name, and see the Python file hello_world.py. This file is opened in the editor by default.

To the right of the editor, there is the Task Description tool window with the task text.

Above the task description, there is the toolbar with the following icons:

  •  — click this button to make sure your answer was correct.
  •  /  — click these buttons to open the previous or next task in the editor
  •  — click this button to drop changes to a task and start it anew
  •  — click this button to show prompt for the current task.

Executing a task

The editor tab is occupied by a task itself. A task consists of one or more frames that serve as placeholders for your code — you need to type your answer inside the placeholder.

In our case, you have to introduce yourself to the world, that is, type your name in the frame:

Before checking the task, you might want to run it — just to see for yourself how it works. For that, there is a special icon in the left gutter of the editor:

If you click this icon, the current Python script will run and show you its output in the Run tool window:

When ready, click  in the Task Description tool window, to check whether the task within a placeholder has been executed correctly:

Yes, you are right! Congrats are well deserved.

By the way, if you click  in the Run tool window, the output will disappear. If your attempt was not correct, PyCharm Edu also informs you about it:

As you see in the Project tool window, the correctly executed task is marked green, while the incorrect task is marked red. Let's get rid of red and repeat the task!

Note that if a task contains more than one placeholder, each placeholder with correct code becomes green, while a placeholder with incorrect code becomes red. The entire task will be considered correct and marked green only when all the placeholders are filled in with correct code!

As the current task has been successfully executed, let's pass to the next one. To do that, click the right arrow button , or press Ctrl+Right. PyCharm Edu opens the next task in the editor. Note that the newly opened file that contains a yet untouched code, is underlined with the red curvy line, since there are syntax errors.

When you enter syntactically valid solution, this red curvy line will disappear.

Clicking the left arrow  or pressing Ctrl+Left lets you jump to the previous task.

Starting a task all over again

Suppose now that you've made several attempts to execute a task, and now there are lots of changes, and you want to start everything from scratch.

In this case, click refresh on the toolbar of the Task Description tool window, and see how PyCharm Edu returns to the original state of a task:

Getting task hints

If you are not sure what are you supposed to do to fulfil a task, you can always see the task description. It is always available in the Task Description tool window.

You can also view hints for each placeholder. To do that, place the caret in the answer placeholder and click intentionBulb :

Suppose now that your task contains several placeholders, and you have to type something meaningful in each one. You know well enough the answer to the second question, but you are not sure about the first one, which now holds the highlight.

No problem — you can start with any question you like better. To do that, press Ctrl+Enter, and the placeholders of the next question now gets the focus:

Now type your answer here, and then press Ctrl+Enter again to jump to the first frame.

Using Python console

Finally, let's try working in the console. Click the tool window button Python Console. The console starts, allowing you to enter commands:

Pressing Enter  executes the current command. You can use the history of commands already entered in the console: press up or down arrow keys to navigate through the history.

Note that code completion is available in the Python console. For example, start typing the keyword 'type' and press Ctrl+Space after the first letters. PyCharm Edu suggests matches:

Code completions after the opening parenthesis

and after dot

are also available.

Pressing the toolbar button show-watches shows you variables used in the current session:

How to reset the entire course?

At some point you may want to reset the entire course. There is no special button or menu entry for that in PyCharm Edu, so you have to do this manually.

To reset the entire course, follow these steps:

  1. On the main menu, choose File | New project...
  2. In the dialog box that opens, choose project type Educational.

3. Specify the new directory for your project. If you are going to reset Introduction to Python, you have to delete the PythonIntroduction folder (this folder by default resides under your home folder in PycharmProjects/PythonIntroduction) — and the next time you'll click theIntroduction to Python option, PyCharm Edu will create a new educational project for you.

Adaptive courses

Do you feel yourself strong enough to skip the tasks too simple for you? Or you are not sure of yourself and would like to repeat the tasks more than once? If this is the case, you can choose the so-called adaptive course.

This is how it's done… In the New Project dialog (opened from the Welcome screen, or by choosing File | New Project... on the main menu) select Educational project type, and then, in the Courses drop-down list, choose Adaptive Python:

Click Create... it takes time. At last you educational project is ready. You see, that it slightly differs from the ordinary project:

Here (1) is the Project tool window with just one task and the Sandbox, (2) is the editor where you will type your code, and (3) is the Task Description tool window which features two buttons on top, Too Hard and Too Boring.

Oops! The task about squirrels seems too complicated... Let's click the first button. PyCharm Edu loads the next, less complicated task:

No, this task seems too simple... Let's click the button Too Boring. This time, PyCharm Edu shows the more complex, task:

As you see, PyCharm keeps an eye on how you tackle the tasks and suggests you the next task depending on your choice. The only requirement for passing such a course is logging in toStepik.

Summary

That completes the tutorial. You got a head start and now can further explore the PyCharm Edu and learn Python along the way. We wish you best of luck!

OCR开发实战:如何用PaddleOCR C++版实现本地文字识别(附模型文件处理技巧) 本文详细介绍了如何使用PaddleOCR C++版实现本地文字识别,包括环境搭建、工程编译、运行时优化等全流程。重点讲解了在VS2019/VS2022环境下配置PaddleOCR的CPU推理性能优化技巧,以及模型文件处理的实际应用方法,帮助开发者高效完成OCR本地化部署。 阅读详情

相关推荐

大模型辅助意图识别,更懂你的客户洞察平台

通过大量的学习和训练,大模型不仅具备庞大的知识库,更掌握着丰富的语言模式和语义规则,能够精准地理解每一段对话的含义,为每一通对话进行全面、准确的标注。主要来自客户的行为信息,将客户与机构的重要时刻以时间轴的方式呈现出来,掌握客户生命周期的完整脉络,识别一些容易被忽略的重要营销MOT(Moment Of Truth,关键时刻研究)机会,提示理财经理跟进处理。将客户的历史交易数据和埋点系统采集的客户行为数据结合起来,辅以部分内容资讯的偏好探测,综合分析和预测客户在各个维度的喜好程度,实现千人千面的客户推送。

Dezhuzhineng的博客 2155

PyCharm(教育版)下载安装教程,超详细

教育版 PyCharm 下载安装详细教程

偶尔记点什么 2万+

告别IMEI!手把手教你用UUID实现Android设备唯一标识(兼容Android 10-13)

本文详细探讨了在Android 10及以上版本中,如何构建合规且高可用的设备唯一标识方案以替代被限制访问的IMEI。文章深入分析了Android设备标识符的演变,并提供了基于UUID/GUID的完整实现策略,包括生成算法、多级持久化存储方案(如MediaStore)、权限处理以及版本兼容性实践,帮助开发者应对Android 10-13的隐私政策变化。

weixin_28339967的博客 573

pycharm(教育版) 安装与使用

常见的pycharm是收费的,或者需要序列号,找起来很麻烦,现在介绍一款免费使用的pycharm--教育版。下面介绍一下pycharm的安装过程和使用中常见的一些问题。 一、安装pycharm 下载地址:https://www.jetbrains.com/pycharm-edu/ 。 下载之后双击即可安装,安装过程中一直点击下一步即可。 二、更换主题 1. 点击 File->S...

katrinawj的博客 2万+

告别手动画图!用SUMO的netedit快速搭建高速公路交织区路网(附完整XML文件)

本文详细介绍了如何使用SUMO的netedit工具高效构建高速公路交织区路网,避免手动绘图的低效与错误。通过实战案例和XML文件示例,帮助交通工程专业学生快速掌握复杂道路结构建模技巧,特别解析了spreadType参数设置和速度单位换算等关键操作。

weixin_29085865的博客 259

社工库2.0

#大题目 社工库2.0 ###环境 whoosh2.7 jieba 12306 python3.7 网上嫖来的网页模板(感谢站长之家 ###实现效果 建立的索引文件 好看的页面 更快的查找速度 ###实现过程 具体的实现过程比较简易,毕竟whoosh已经封装的很好了 第一步 建立索引并存储 schema = Schema(zhanghao=TEXT(stored=True), code=STORED, name=TEXT(stored=True, analyzer=

sdyinruichao的博客 2万+

pycharm社区版、专业版和教育版区别是什么?

pycharm社区版、专业版和教育版区别是什么?

喜欢Python编程的程序员柚柚呀 9749

【ROS机器人系统】自主导航+YOLO目标检测+语音播报

完成自主导航功能,并在小车移动至指定地点的过程中,通过机器人的摄像头检测导航途中所见物体,识别出物体的种类(框选出不同物体并标注识别结果),结合科大讯飞语音合成模块对识别结果进行语音播报。..............................

南京大学软件工程硕士在读 2万+

Pycharm Edu 自带入门教程:Getting Started for Educators

On this page: 1、PyCharm Edu basics 2、Prerequisites 3、Creating a course 4、What’s inside this project? 5、Python interpreter 6、Creating the first lesson 7、Writing a task text 8、Writing an e

一苇以航 3590

【网络与爬虫 61】移动端App爬虫终极指南:Android-iOS应用数据提取黑科技全解析

本文全面解析移动端App爬虫技术,涵盖Android和iOS两大平台的数据提取方法。从基础的网络抓包到高级的代码注入,从自动化测试框架到反调试技术绕过,为开发者提供移动端数据采集的完整解决方案和实战经验。

熵数实验室 3022

人工智能算法面试大总结-总目录

涉及秋招、春招、社招

啥都生的博客 2万+

python编程入门从零开始:下载python环境及编译器pycharm EDU

第零章:下载python环境及编辑器pycharm EDU 俗话说:“工欲善其事,必先利其器”,所以要想学习python这门语言,就一定要从学习使用python的工具开始;想要完成这步其实非常简单,只需要跟着本文的操作一步一步完成就可以,但是在开始之前,让我们先了解一下python这门语言。 首先,我们需要问一下自己,什么是python?这时候你可能会去搜索引擎查询“python”,但劝你不要搜图,因为我确实怕这个东西: 没错,“python”在英文中就是“蟒蛇”的意思,这时候我们就不由产生疑问:蟒蛇?一

洪博hopes的博客 1151

【图像超分】论文复现:CVPR 2024 | 轻量化超分 | 窗口注意力改进 | CAMixerSR的Pytorch源码复现,跑通源码,获得指标和超分结果,计算复杂度,架构梳理拆解,逐行注释!

本文介绍了超分辨率重建方法CAMixerSR的代码实现与运行指南。文章亮点包括:完整跑通源码获取PSNR/SSIM指标和可视化结果;详细解析模型架构与关键代码注释,帮助快速复现基线模型。实验部分提供了测试配置文件和训练设置说明,支持2K/4K/8K大图像超分和x2/x4轻量化超分。环境依赖PyTorch和BasicSR框架,数据集包含DIV2K等常用基准。测试结果与论文指标一致,可视化输出保存至指定目录。训练配置可自定义数据集路径、GPU数量等参数。该实现突出了CAMixerSR在降低W-MSA复杂度方面的

主要更新底层视觉(去噪、超分等)相关的科研内容,形式为【论文精读】+【论文复现】 436

pycharm社区版、专业版和教育版区别是什么 _pycharm教育版(1)

pycharm专业版是功能最丰富的,与社区版相比,pycharm专业版增加了web开发、Python web框架、Python分析器、远程开发、支持数据库与SQL等更多高级功能。pycharm社区版中没有web开发、Python web框架、Python分析器、远程开发、支持数据库与SQL等这些功能。Python教育版的功能虽然比专业版会少一些,但与社区版相比,更加支持学校的教学工作。

2401_84264010的博客 3314

Outlook Express 6 (OE6) for Win7/Win8/Win10

英文版 Outlook Express6.0, 兼容Win7/Win10/WinXP,解压就可用。

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

Pycharm的安装与激活(超详细,教育版)

本文将会详细介绍PyCharm的安装与使用学生邮箱激活过程中的每一步,这是我重新安装一遍之后才写的文章。

16万+

最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版

Part-E1-SDIO-Specification-Ver4.00-Final-120220.pdf:最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版,包括SDIO 接口的外设,SDIO 接口官方协议等。

【PyCharm激活】激活PyCharm三大方法之一:Edu邮箱。手把手带你申请Edu邮箱!!!

Edu邮箱,即教育邮箱,通常由学校或教育机构提供给学生和教职工。它具有一些特点和福利,如学术资源和访问权限、免费软件和服务、教育优惠等。Edu邮箱,即教育邮箱,通常由学校或教育机构提供给学生和教职工。它具有一些特点和福利,如学术资源和访问权限、免费软件和服务、教育优惠等。

2401_86706175的博客 4358

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

mac安装及使用pycharm edu教育版

mac安装及使用pycharm edu教育版下载安装软件(mac版本)配置python使用环境pycharm使用 下载安装软件(mac版本) 下载地址:https://www.jetbrains.com/pycharm-edu/download/#section=mac 添加到应用程序: 配置python使用环境 安装miniconda 下载地址:https://conda.io/min...

加油鸭 2167

Pycharm学生邮箱免费激活

昨天网上找的激活码不能用了,今天尝试了一下学生邮箱激活,激活成功。将步骤记录一下。 1.进入JetBrains官网,拉到最下面,找到学生包入口 2.点击进入后找到面向学校申请,点击申请 3.填写个人信息,学生校园邮箱等 4.提交后,他会给你的邮箱发一封邮件 5.打开你的edu邮箱,点击follow this link 6.这个链接跳转过去注册一个JetBrains账号,点击下面那个注册 7注册完成以后登录进去,就可以看到你获得了一年的激活权限 8.在pycharm激活界面,选择JB Accou

zhangqiqiyihao的博客 1万+

Pycharm免费教育许可证

在校的学生,大多数可能都会接触到使用Pycharm这个软件。大多数可能都是使用社区版,专业版一般付费购买或者使用盗版。高校学生可以使用自己的教育邮箱去申请专业版。教育邮箱具体申请方式每个高校的流程不一样。最后填写好信息后,就可以申请许可证了,验证码发到你的邮箱,此时用你的账号登录JetBrains家所有的专业版IDE都可以免费使用了。下载-安装完,打开pycharm ,登录自己的邮箱账号就能激活许可证了。部分学校邮箱可能会屏蔽了,去邮箱网关看看,是不是被拦截了。登录自己的邮箱账号就能下载了。

weixin_51212473的博客 4095

PyCharm安装教程及基本使用(更新至2024年新版本),教你迈出学习python第一步

PyCharm是一种Python IDE(Integrated Development Environment,集成开发环境),带有一整套可以帮助用户在使用Python语言开发时提高其效率的工具

2302_79334848的博客 34万+

Pycharm安装教程

PyCharm,通俗地说,是一个用于。它提供了一系列工具和特性,旨在帮助开发者更高效地编写、调试和管理Python代码。具体来说,PyCharm具备如调试、语法高亮、项目管理、代码跳转、智能提示、自动完成、单元测试、版本控制等功能,这些功能可以大大提升开发者的编程效率。此外,PyCharm还支持Django框架下的专业Web开发,并提供了对Google App Engine和IronPython的支持。

2302_76846184的博客 4919

PyCharm快速安装与教育版认证指南

实际体验发现,其AI助手能自动生成完整的环境配置文档,包括版本选择建议和常见错误解决方案,特别适合需要快速搭建开发环境的新手。平台无需安装客户端,直接在浏览器就能获取专业指导,比传统安装方式节省大量排查时间。官网下载时建议勾选"Add Python to PATH"选项。检查是否勾选安装界面的环境变量选项。IdeaVim支持vim键位爱好者。审批期间可正常使用30天试用期。创建不同虚拟环境隔离项目依赖。重新提交清晰的学生证件照片。

DiamondWolf89的博客 631

Pycharm初步上手

1.Pycharm安装

xbn20000224的博客 1822

初学 Python 这2个软件安装必不可少_pycharm edu python ide to learn programming quick

为了帮助大家更好的学习Python,小编给大家准备了一份Python学习资料,里面的内容都是适合零基础小白的笔记和资料,不懂编程也能听懂、看懂,需要获取方式:扫描下方即可获取。

m0_56169789的博客 645

PyCharm Educational Edition 教程项目简介

PyCharm Educational Edition 教程项目简介 PyCharm Educational Edition 是由 JetBrains 公司推出的面向教育和初学者的集成开发环境(IDE),旨在帮助学习者和教育工作者更有效地学习和教授编程。该项目以开源的形式托管在 GitHub 上,以下是关于这个项目的详细介绍。 1. 项目基础介绍和主要编程语言 项目名称:PyCharm Educa...

gitblog_00331的博客 938

python 社区版-Pycharm的教育版和社区版有什么区别?

教育版(edu)是基于社区版(community)的,不过有些教育相关的功能。专业版(professional)才是完整版,学生(应该说有教育邮箱的)可试用一年,jetbrains - studentHow does PyCharm Edu differ from PyCharm Professional Edition or PyCharm Community Edition?PyCharm E...

weixin_37988176的博客 1831
上一篇: One Day of IDLE Toying
下一篇: 整理:Pycharm 快捷键(DEFAULT KEYMAP)
bat67
博客等级 码龄11年 1146粉丝 141原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值