作者查詢 / Thisisnotptt

總覽項目: 發文 | 留言 | 暱稱
作者 Thisisnotptt 在 PTT [ Python ] 看板的留言(推文), 共132則
限定看板:Python
[問題] 超新(文)手(盲)如何建立知識架構
[ Python ]34 留言, 推噓總分: +6
作者: tonglie - 發表於 2015/11/02 13:22(10年前)
25FThisisnotptt: 可不可以簡易敘述一下需求呢?說不定有適合度很高的11/03 16:47
26FThisisnotptt: 套件可以用11/03 16:47
[問題] python gui keyboard
[ Python ]4 留言, 推噓總分: +1
作者: p147525963 - 發表於 2015/09/22 14:33(10年前)
1FThisisnotptt: 可以說明一下你是用那一個gui framework嗎?09/22 15:06
Re: [問題] 用tkinter寫一個簡單的gui介面
[ Python ]6 留言, 推噓總分: +3
作者: p147525963 - 發表於 2015/09/07 14:46(10年前)
3FThisisnotptt: 需要註冊才能看大圖09/07 15:44
4FThisisnotptt: 如果是要再同一個Frame內做出切換頁的效果,不妨試09/07 15:46
5FThisisnotptt: 看看 Tab,把tab的標籤隱藏就可以再同一Frame內切換09/07 15:47
6FThisisnotptt: "返回" 跟 "下一步" 就可以直接連接到需要 activate09/07 15:49
7FThisisnotptt: 的 tab 就行了09/07 15:49
[閒聊] iPython Notebook 4.0有點問題
[ Python ]7 留言, 推噓總分: +4
作者: Killercat - 發表於 2015/08/27 21:29(10年前)
4FThisisnotptt: 好像是跟Jupyter整合的問題,之前搞半天都搞不定08/27 23:07
5FThisisnotptt: 最後也是降到3.0才安定08/27 23:08
[閒聊] 為何是Python?
[ Python ]19 留言, 推噓總分: -1
作者: ksten1688 - 發表於 2015/08/19 14:21(10年前)
2FThisisnotptt: XD08/19 15:18
[問題] 讀取excel裡的超連結
[ Python ]9 留言, 推噓總分: +2
作者: alair99 - 發表於 2015/08/19 11:09(10年前)
1FThisisnotptt: http://pastie.org/1036076408/19 15:13
2FThisisnotptt: 好像沒有辦法直接從 Cell 裡面直接讀取 Hyper_link08/19 15:14
3FThisisnotptt: 似乎是要從 sheet 裡面要求 hyper_link 的 list,從08/19 15:15
4FThisisnotptt: 這裡的 list elements 可以找到他在哪個 cell 裡面08/19 15:16
5FThisisnotptt: 同時也可以獲取 Hyper_link 的網址08/19 15:16
6FThisisnotptt: 至於 openpyxl 我就沒有用過了。08/19 15:18
[問題] 如何在數列中找到max min且max在min右邊
[ Python ]16 留言, 推噓總分: +4
作者: joe1234wu - 發表於 2015/08/17 23:24(10年前)
11FThisisnotptt: 樓上的做法感覺應該沒錯,差的n-Order應該是差再一08/18 00:37
12FThisisnotptt: 個是直接記錄下最大值,每往前走便比較一次是否大08/18 00:37
13FThisisnotptt: 於最大值,若非則不處理,若是則更新最大值,所以08/18 00:38
14FThisisnotptt: 整個只走過一次,並不用每走一步就再用一個迴圈去08/18 00:38
15FThisisnotptt: 找一次最大值08/18 00:38
[問題] 無法安裝beautifulsoup
[ Python ]1 留言, 推噓總分: +1
作者: A95701004 - 發表於 2015/08/08 20:10(10年前)
1FThisisnotptt: 再安裝一次,安裝假如有跳錯誤,貼出來,不然無解08/08 21:28
[問題] bs4抓取連結問題消失
[ Python ]30 留言, 推噓總分: +7
作者: nendi - 發表於 2015/08/07 12:28(10年前)
2FThisisnotptt: findall之後用for loop把每個找到的element讀出來08/07 12:33
3FThisisnotptt: a 也用 find all找08/07 12:34
6FThisisnotptt: 嗯. len(ul) 長度是多少呢,會不會ul 條件沒設定好08/07 12:42
7FThisisnotptt: ,只找到一個08/07 12:42
11FThisisnotptt: 怪怪,假如確定每個裡面都有link但bf找不到的話可以08/07 12:49
12FThisisnotptt: 用regexp直接搭配用08/07 12:49
14FThisisnotptt: 但通常bs找無都是條件沒有設定好08/07 12:50
15FThisisnotptt: 那可能要以link in ui[0]:去找08/07 12:51
17FThisisnotptt: links = ul[0].findAll('a')08/07 13:10
18FThisisnotptt: for link in links : print link08/07 13:10
19FThisisnotptt: 我這樣有找到連結,你try看看08/07 13:11
20FThisisnotptt: 因為你用find_all去找ul,ul又只出現一次,所以BS還是08/07 13:13
21FThisisnotptt: 把他包成list,只是裏面只會有一個,所以要去ul[0]裏08/07 13:14
22FThisisnotptt: 那裡面才會是文檔,文檔再進去找所有ul包含的a herf08/07 13:15
23FThisisnotptt: 就會有link了08/07 13:15
26FThisisnotptt: URL + link['href'].strip()08/07 13:21
28FThisisnotptt: 因為網址從/MAIN 開始,所以前面要自己補上去,不然08/07 13:21
29FThisisnotptt: strpi()可以去頭尾的空白08/07 13:23
30FThisisnotptt: 補一下上面: 不然會連不上08/07 13:28
Re: [問題] python string.strip 求解惑
[ Python ]3 留言, 推噓總分: +3
作者: uranusjr - 發表於 2015/07/09 14:07(10年前)
6FThisisnotptt: 感謝測試!!07/09 17:12