<p align="center">
<img src="logo.png" alt="logo"/>
</p>
# Learn Python 3
## Introduction
This repository contains a collection of materials for teaching/learning Python 3 (3.10+).
#### Requirements
* Have Python 3.10 or newer installed. You can check the version by typing `python3 --version` in your command line. You can download the latest Python version from [here](https://www.python.org/downloads/).
* Have [Jupyter Notebook installed](http://jupyter.readthedocs.io/en/latest/install.html). `pip install jupyter` is sufficient in most cases.
If you can not access Python and/or Jupyter Notebook on your machine, you can still follow the web based materials. However, you should be able to use Jupyter Notebook in order to complete the exercises.
#### Usage (locally)
1. Clone or download this repository.
2. Run `jupyter notebook` command in your command line in the repository directory.
3. Jupyter Notebook session will open in the browser and you can start navigating through the materials.
#### Usage (Binder in the cloud)
You can also just use [Binder:](https://mybinder.org/) By clicking of this [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jerry-git/learn-python3/master) badge, the project is opened in a Jupyter instance in the cloud and you can then navigate to the folders containing the notebooks and start them each and interactively explore them!
#### Contributing
See [contributing](https://github.com/jerry-git/learn-python3/blob/master/CONTRIBUTING.md) guide.
## Beginner
1. [Strings](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/01_strings.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/01_strings.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/01_strings_exercise.ipynb)
2. [Numbers](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/02_numbers.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/02_numbers.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/02_numbers_exercise.ipynb)
3. [Conditionals](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/03_conditionals.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/03_conditionals.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/03_conditionals_exercise.ipynb)
4. [Lists](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/04_lists.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/04_lists.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/04_lists_exercise.ipynb)
5. [Dictionaries](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/05_dictionaries.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/05_dictionaries.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/05_dictionaries_exercise.ipynb)
6. [For loops](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/06_for_loops.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/06_for_loops.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/06_for_loops_exercise.ipynb)
7. [Functions](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/07_functions.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/07_functions.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/07_functions_exercise.ipynb)
8. [Testing with pytest - part 1](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/08_testing1.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/08_testing1.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/08_testing1_exercise.ipynb)
9. Recap exercise 1 [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/09_recap1_exercise.ipynb)
10. [File I\O](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/10_file_io.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/10_file_io.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/10_file_io_exercise.ipynb)
11. [Classes](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/11_classes.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/11_classes.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/11_classes_exercise.ipynb)
12. [Exceptions](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/12_exceptions.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/12_exceptions.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/12_exceptions_exercise.ipynb)
13. [Modules and packages](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/13_modules_and_packages.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/13_modules_and_packages.ipynb)
14. [Debugging](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/14_debugging.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/14_debugging.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/14_debugging_exercise.ipynb)
15. [Goodies of the Standard Library - part 1](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/15_std_lib.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/15_std_lib.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/15_std_lib1_exercise.ipynb)
16. [Testing with pytest - part 2](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/16_testing2.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/16_testing2.ipynb) [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/16_testing2_exercise.ipynb)
17. [Virtual environment](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/17_venv.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/17_venv.ipynb)
18. [Project structure](https://jerry-git.github.io/learn-python3/notebooks/beginner/html/18_project_structure.html) [[notebook]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/notebooks/18_project_structure.ipynb)
19. Recap exercise 2 [[exercise]](http://nbviewer.jupyter.org/github/jerry-git/learn-python3/blob/master/notebooks/beginner/exercises/19_recap2_exercise.ipynb)
## Intermediate
#### Idiomatic Python
Python is a powerful language which contains
没有合适的资源?快使用搜索试试~ 我知道了~
用于教学,学习 Python 3 的 Jupyter 笔记本.zip
共98个文件
ipynb:42个
html:24个
txt:11个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 184 浏览量
2024-11-23
21:32:47
上传
评论
收藏 3.08MB ZIP 举报
温馨提示
学习 Python 3介绍该存储库包含用于教授/学习 Python 3 (3.10+) 的材料集合。要求python3 --version已安装 Python 3.10 或更新版本。您可以通过在命令行中输入来检查版本。您可以从此处下载最新的 Python 版本。安装Jupyter Notebookpip install jupyter在大多数情况下就足够了。如果您无法在计算机上访问 Python 和/或 Jupyter Notebook,您仍然可以按照基于网络的资料进行操作。但是,您应该能够使用 Jupyter Notebook 来完成练习。使用情况(本地)克隆或下载此存储库。jupyter notebook在存储库目录中的命令行中运行命令。Jupyter Notebook 会话将在浏览器中打开,您可以开始浏览材料。使用情况(云端 Binder)您也可以使用Binder通过单击此徽章,项目将在云中的 Jupyter 实例中打开,然后您可以导航到包含笔记本的文件夹并启动它们并以交互方式探索它们!贡献参见贡献指南。初学者字符串 [笔记本] [
资源推荐
资源详情
资源评论
收起资源包目录
用于教学,学习 Python 3 的 Jupyter 笔记本.zip (98个子文件)
_config.yml 25B
.github
workflows
ci.yml 473B
标签.txt 55B
.gitattributes 36B
pytest.ini 55B
LICENSE 1KB
logo.png 21KB
CONTRIBUTING.md 639B
.pre-commit-config.yaml 479B
资源内容.txt 1KB
dev-requirements.txt 63B
.gitignore 97B
README.md 11KB
notebooks
intermediate
data
misc_data1.txt 77B
empty.txt 0B
misc_data2.txt 94B
exercises
01_std_lib2_exercise.ipynb 6KB
05_idiomatic_python_exercise.ipynb 11KB
img
ci.jpg 33KB
bad_code.jpg 33KB
testing.png 344KB
high_quality_code.png 130KB
virtualenvs.jpg 31KB
prints.jpg 21KB
reinvent.jpg 32KB
cookiecutter.jpg 43KB
debugging.jpg 54KB
ide.jpg 34KB
html
01_idiomatic_loops.html 628KB
01_best_practices.html 630KB
01_pytest_fixtures.html 627KB
03_idiomatic_misc1.html 651KB
02_idiomatic_dicts.html 623KB
04_idiomatic_misc2.html 643KB
01_std_lib2.html 630KB
notebooks
02_idiomatic_dicts.ipynb 7KB
01_idiomatic_loops.ipynb 8KB
03_idiomatic_misc1.ipynb 13KB
01_pytest_fixtures.ipynb 9KB
01_best_practices.ipynb 18KB
01_std_lib2.ipynb 11KB
04_idiomatic_misc2.ipynb 12KB
beginner
data
simple_file.txt 51B
numbers.txt 28B
empty_file.txt 0B
random_data.txt 77B
simple_file_with_empty_lines.txt 110B
exercises
06_for_loops_exercise.ipynb 3KB
15_std_lib1_exercise.ipynb 2KB
16_testing2_exercise.ipynb 5KB
14_debugging_exercise.ipynb 2KB
05_dictionaries_exercise.ipynb 3KB
08_testing1_exercise.ipynb 2KB
12_exceptions_exercise.ipynb 3KB
03_conditionals_exercise.ipynb 2KB
04_lists_exercise.ipynb 3KB
19_recap2_exercise.ipynb 6KB
02_numbers_exercise.ipynb 2KB
07_functions_exercise.ipynb 4KB
01_strings_exercise.ipynb 3KB
09_recap1_exercise.ipynb 3KB
11_classes_exercise.ipynb 4KB
10_file_io_exercise.ipynb 3KB
html
11_classes.html 623KB
16_testing2.html 613KB
04_lists.html 627KB
12_exceptions.html 605KB
05_dictionaries.html 629KB
13_modules_and_packages.html 597KB
06_for_loops.html 607KB
18_project_structure.html 597KB
03_conditionals.html 623KB
17_venv.html 596KB
01_strings.html 631KB
02_numbers.html 609KB
08_testing1.html 607KB
10_file_io.html 606KB
07_functions.html 617KB
15_std_lib.html 634KB
14_debugging.html 601KB
notebooks
06_for_loops.ipynb 3KB
16_testing2.ipynb 6KB
13_modules_and_packages.ipynb 3KB
14_debugging.ipynb 4KB
07_functions.ipynb 6KB
05_dictionaries.ipynb 7KB
01_strings.ipynb 8KB
17_venv.ipynb 3KB
11_classes.ipynb 9KB
10_file_io.ipynb 4KB
02_numbers.ipynb 4KB
12_exceptions.ipynb 4KB
03_conditionals.ipynb 6KB
08_testing1.ipynb 5KB
15_std_lib.ipynb 10KB
04_lists.ipynb 6KB
18_project_structure.ipynb 3KB
scripts
notebook_to_html.py 966B
共 98 条
- 1
资源评论
徐浪老师
- 粉丝: 8058
- 资源: 7094
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Python 中数据结构和算法的最少示例.zip
- 全国大学生智能车竞赛:基于Arduino的智能车设计与实现
- Python SOAP 客户端.zip
- Python ODBC 桥.zip
- Python MIDI 库.zip
- Python for DevOps repo 包含有用的 Python 脚本,可供您学习并在日常 DevOps 自动化任务中实施 .zip
- Python API 包装器和库列表.zip
- Python - 与我的 YouTube 频道相关的脚本存储在这里,可以用任何版本的 Python 编写.zip
- PyClass 课程计划.zip
- Puppet 模块用于安装和管理 Python、pip、virtualenvs 和 Gunicorn 虚拟主机 .zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功