
Python新手一枚,用Python写了一个Linux终端下查询天气预报的脚本。
API用的是: https://developer.worldweatheronline.com/
还请大家多提宝贵意见,多多指教。也欢迎大家在不同机器上测试,有BUG的话烦请告知。多谢大家!
本项目的Github地址为: https://github.com/smartczy/weather_py
如果大家觉得还不错的话,给个star将是对我莫大的鼓励。多谢大家。

2 PhanKiap 2015 年 6 月 27 日 不支持城市名中文么。 |
3 thankyourtender 2015 年 6 月 27 日 英文的 |
5 matsuijurina 2015 年 6 月 27 日 via Android 和王依依那个rust项目好像,还是你们都是基于同一套ui做的 |
6 nayihz OP @matsuijurina 是同一套ui,都是基于https://github.com/schachmat/wego ,用别的语言重写的。 |
7 phx13ye 2015 年 6 月 27 日 看过一个叫wego 的,好厉害 |
9 aheadlead 2015 年 6 月 27 日 有很多地方并不是拼音啊…比如说呼和浩特就是hohhot |
10 sneezry 2015 年 6 月 27 日 nice job! |
11 loading 2015 年 6 月 27 日 via Android 不错,我看看这种代码是如何写的,我写的终端界面都最原始那种的… |
12 halfcrazy 2015 年 6 月 27 日 可以用pypinyin来支持汉字啊 |
13 zonghua 2015 年 6 月 28 日 via iPhone 怎么实现排布得这么规整 |
16 nayihz OP @halfcrazy 个人感觉没必要支持汉字吧,还是输拼音方便吧,Python weather.py Beijing 这样还不需要切换输入法 |
20 cxl008 2015 年 6 月 28 日 北京联通 访问不到 https://developer.worldweatheronline.com/ 是个什么情况 |
21 tLbf2p3UC4BM3H1N 2015 年 6 月 28 日 调用API还是?~ |
25 dofine 2015 年 6 月 28 日 学习一下。。这种终端的 ui 看起来好酷 |
26 kcworms 2015 年 6 月 28 日 “终端需要在全屏状态下,否则排版会被打乱”不会很糟糕吗,建议砸时间改进…… |
27 iichenbf 2015 年 6 月 28 日 年度最佳天气 |
30 recall704 2015 年 6 月 29 日 |