作者查詢 / eight0

總覽項目: 發文 | 留言 | 暱稱
作者 eight0 在 PTT [ Python ] 看板的留言(推文), 共93則
限定看板:Python
[問題] 又是中文編碼的問題
[ Python ]19 留言, 推噓總分: +2
作者: ggirls - 發表於 2016/07/01 10:38(9年前)
2Feight0: http://but.tw/2014/03/the-story-of-big5-uao-zhtw/07/01 12:52
[問題] python3.5.1cmd中不能使用pip
[ Python ]13 留言, 推噓總分: +2
作者: pink8128 - 發表於 2016/06/17 21:13(9年前)
13Feight0: 可以 where pip 檢查位置06/19 02:36
[問題] telnetlib文字編碼問題(python3)
[ Python ]27 留言, 推噓總分: +5
作者: aa4live - 發表於 2016/06/14 09:26(9年前)
19Feight0: UAO en/decoder https://is.gd/qdGYrI06/14 23:39
20Feight0: py3 https://is.gd/opyamH06/14 23:40
24Feight0: 話說既然 tn.write 吃 bytes,直接把檔案讀成 bin 再餵給06/15 16:26
25Feight0: 它就行了吧?06/15 16:27
[問題] 編碼問題
[ Python ]2 留言, 推噓總分: +1
作者: os653 - 發表於 2016/06/06 20:30(9年前)
1Feight0: HKSCS https://is.gd/SWz6Zf06/06 20:57
Re: [問題] Python List篩選-重複元素
[ Python ]20 留言, 推噓總分: +6
作者: dream0830 - 發表於 2016/05/26 02:32(9年前)
3Feight0: 用 collections.Counter05/26 05:25
4Feight0: https://ideone.com/zegl4205/26 05:25
[問題] Python List增減 (已解決 非常感謝)
[ Python ]36 留言, 推噓總分: +8
作者: dream0830 - 發表於 2016/05/16 13:31(9年前)
32Feight0: B = [(i, 6 - i) for i in A if i < 3 and 6 - i in A]05/19 03:21
Re: [問題] 良好的python編碼習慣
[ Python ]23 留言, 推噓總分: +2
作者: eight0 - 發表於 2016/04/23 03:30(9年前)
5Feight0: 原來有 reduce,而且是在 functools 裡04/23 05:25
6Feight0: 2 如果只用 map 要再多一層 for cb in cb_list04/23 05:27
7Feight0: 還有不必要的 return list04/23 05:27
11Feight0: 但是 map 和 filter 都會跑完整個 list,所以我才覺得可以04/23 09:10
12Feight0: 加上 first 函式04/23 09:10
17Feight0: 原來都是 generator?! 那如果在 py3 用 map 還得主動把它04/23 09:51
20Feight0: 說得也是,把結構放進 any 後程式碼自然就變短了04/23 13:55
21Feight0: 我看到單行的 for loop 就直覺想到這個案例04/23 13:56
Re: [問題] 良好的python編碼習慣
[ Python ]18 留言, 推噓總分: +12
作者: gbllggi - 發表於 2016/04/22 05:34(9年前)
15Feight0: 第一次看到推薦用中文寫,有些範例嗎?04/23 02:53
[問題] Python讀取json的編碼問題
[ Python ]7 留言, 推噓總分: +3
作者: jimmy15923 - 發表於 2016/04/19 11:17(10年前)
3Feight0: open(file, encoding="utf-8")04/19 11:40
[問題] 例外處理
[ Python ]30 留言, 推噓總分: +4
作者: obelisk0114 - 發表於 2016/04/18 19:49(10年前)
7Feight0: else 就是 if no error 啊,和 while 的 if no break 一樣04/18 20:30
8Feight0: 的感覺04/18 20:30