Bryan8's recent timeline updates
Bryan8

Bryan8

V2EX member #84408, joined on 2014-11-29 22:42:04 +08:00
Per Bryan8's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
Bryan8's recent replies
Nov 29, 2016
Replied to a topic by oddcc Python Python | 包含元组的列表转 JSON,更好的做法?
```Python
rs = [(2016, 1, 'p0', 1), (2016, 2, 'p1', 2), (2016, 2, 'p2', 3),
(2016, 3, 'p3', 25), (2016, 4, 'p4', 55)]

dic = {'categories': []}

month = max([i[1] for i in rs])


for i in rs:
dic.setdefault(i[2], [0 for j in range(month)])
dic[i[2]][i[1] - 1] = i[3]
dic['categories'].append(str(i[0]) + '-' + str(i[1]))

print(dic)
```

这样?
Oct 15, 2016
Replied to a topic by scomper macOS 「鼠须管」配置方案分享
@scomper 谢谢回复
Oct 14, 2016
Replied to a topic by scomper macOS 「鼠须管」配置方案分享
@scomper 大神你好,请问在不用 Proxifier 的情况下, Surge 该怎么配置才能使用 Mac 词典里的维基百科?
@f0 2867603692
@f0 速度好入伙
@f0 广西电信试一个
@wgf2008 我也没买过,详细聊聊把 五一七二二五七三四
@wgf2008 2 欧几钱?
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3031 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 15:17 · PVG 23:17 · LAX 08:17 · JFK 11:17
♥ Do have faith in what you're doing.