python编程:从入门到实践(第三版) 笔记

资源网站:https://www.ituring.com.cn/book/3038

在这里插入图片描述

配置VSCode

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

推荐资源网站

推荐资源网址

英文版主页: https://ehmatthes.github.io/pcc_3e
中文版主页: https://www.ituring.com.cn/book/3038

第 1章

  • Python官方网站主页: https://python.org
  • Visual Studio Code官方网站主页: https://code.visualstudio.com

第 4章

  • PEP 8格式设置指南: https://python.org/dev/peps/pep-0008

第 9章

  • Python 3 Module of the Week: https://pymotw.com/3/

第 10章

  • 古登堡计划: https://gutenberg.org

第 12章

  • OpenGameArt: https://opengameart.org/
  • Pygame文档: https://pygame.org/docs

第 15章

  • 使用 Matplotlib可制作的各种图形: https://matplotlib.org/stable/plot_types/index.html
  • pyplot 中所有的颜色映射: https://matplotlib.org/stable/tutorials/colors/colormaps.html#sphx-glr-tutorials-colors-colormaps-py
  • 使用 Plotly可创建的图形: https://plotly.com/python/
  • 完整的图形类型清单: https://plotly.com/python/plotly-express

第 17章

  • GitHub: https://github.com
  • 文章 Plotly Express in Python: https://plotly.com/python/plotly-express
  • 文章 Styling Plotly Express Figures in Python: https://plotly.com/python/styling-plotly-express
  • GitHub API的文档: https://docs.github.com/en/rest
  • Hacker News: http://news.ycombinator.com/
  • 通过 Hacker News API可访问哪些信息: https://github.com/HackerNews/API/
  • 如果你还想探索其他 API,可看看 GitHub仓库 https://github.com/public-apis提及的 API。

第 18章

  • Django Model Field Reference ( Django模型字段参考 ) : https://docs.djangoproject.com/en/4.1/ref/models/fields
  • 有关如何查询数据的文档 Making queries: https://docs.djangoproject.com/en/4.1/topics/db/queries

第 20章

  • Bootstrap提供的模板: https://getbootstrap.com/docs/5.3/examples/
  • 了解 Bootstrap提供了哪些功能: https://getbootstrap.com/docs/5.3/getting-started/introduction/
  • 注册 Platform.sh账户: https://auth.api.platform.sh/register?trial_type=general
  • Platform.sh对免费试用服务的最新限制: https://platform.sh/free-trial
  • 安装 Platform.sh CLI的最新版本: https://docs.platform.sh/development/cli.html
  • XAMPP安装程序: https://apachefriends.org
  • 有关 Platform.sh支持的 Python版本列表: https://docs.platform.sh/languages/python.html
  • 登录 Platform.sh网站,并访问你的仪表盘: https://console.platform.sh

附录 A

  • Python网站: https://python.org

附录 C

  • Stack Overflow: https://stackoverflow.com
  • 文章 How do I Ask a Good Question?: https://stackoverflow.com/help/how-to-ask
  • Python官方文档: https://docs.python.org
  • Django官方文档: https://docs.djangoproject.com/

附录 E

推荐资源网址

天气数据(16.1节)

如果你想自己下载天气数据,可采取如下步骤:

  1. 访问网站 NOAA Climate Data Online(https://www.ncdc.noaa.gov/cdo-web)。在 Discover Data By 部分单击 Search Tool,在下拉列表 Select a Dataset 中选择 Daily Summaries

  2. 选择一个日期范围,在 Search For 下拉列表中选择 ZIP Codes,输入你感兴趣地区的邮政编码,再单击 Search 按钮。

  3. 在下一个页面中,你将看到指定地区的地图和相关信息。单击地区名下方的 View Full Details 或先单击地图再单击 Full Details

  4. 向下滚动并单击 Station List,以显示该地区的气象站,再选择一个气象站并单击 Add to Cart。虽然这个网站使用了购物车图标,但提供的数据是免费的。单击右上角的购物车。

  5. Select the Output Format 中选择 Custom GHCN-Daily CSV。确认日期范围正确无误后单击 Continue

  6. 在下一个页面中,可选择要下载的数据类型。可只下载一种数据(如气温),也可下载该气象站提供的所有数据。做出选择后单击 Continue.

  7. 在最后一个页面,你将看到订单小结。请输入你的电子邮箱地址,再单击 Submit Order。你将收到一封确认邮件,指出收到了你的订单。几分钟后,你将收到另一封邮件,其中包含用于下载数据的链接。

你下载的数据与16.1节处理的数据有类似的结构,但包含的文件头可能不同。然而,只要按本节介绍的步骤做,就能对你感兴趣的数据进行可视化。

地震数据(练习 16.8)

请访问 https://earthquake.usgs.gov/earthquakes/feed/v1.0/geojson.php。对于最近1小时、1天、7天和30天的每个时段,都有一个链接列表,其中的链接指向包含不同震级以上地震的数据集。

火灾数据(练习 16.9)

要下载最新的数据,请访问 https://www.earthdata.nasa.gov/learn/find-data/near-real-time/firms/active-fire-data。在其中的 SHP, KML and TXT Files 部分,有下载 CSV 格式数据的链接。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值