作者查詢 / Thisisnotptt

總覽項目: 發文 | 留言 | 暱稱
作者 Thisisnotptt 在 PTT [ Python ] 看板的留言(推文), 共132則
限定看板:Python
[閒聊] 沒有python的python書
[ Python ]21 留言, 推噓總分: +10
作者: Wadia - 發表於 2020/05/10 10:38(4年前)
7FThisisnotptt: 錢包也沒錢05/10 18:21
[問題] 電子顯微鏡影像分析請益
[ Python ]6 留言, 推噓總分: +2
作者: nanokevin - 發表於 2019/05/25 00:59(5年前)
5FThisisnotptt: PYQTGRAPH05/29 21:59
6FThisisnotptt: http://www.pyqtgraph.org/images/data_slicing.png05/29 22:00
Re: [問題] python 爬取pchome資料
[ Python ]12 留言, 推噓總分: +4
作者: BigBank - 發表於 2016/08/06 00:28(7年前)
1FThisisnotptt: 剛剛試了一下,應該是JS的問題,所以我改用selenium04/11 13:38
2FThisisnotptt: 之後就搞定了 http://codepad.org/QeZAV5HO04/11 13:39
4FThisisnotptt: 假如是偶爾成功 那可能是要加入延遲讓網頁跑完08/06 20:46
5FThisisnotptt: 讓javascript的內容被載入之後才抓得到 因為se是個08/06 20:47
6FThisisnotptt: 瀏覽器 要給他點時間處理08/06 20:47
7FThisisnotptt: 試試看加這個 http://tinyurl.com/he7h8aa 讓他完全08/06 20:48
8FThisisnotptt: 載入之後再進行抓取08/06 20:49
9FThisisnotptt: 假如要擺脫 se 可以用post request的方式直接抓取08/06 20:50
10FThisisnotptt: 內容 但是我之前對pchome採post/request的方式都一08/06 20:51
11FThisisnotptt: 不太成功 se 搞起來比較方便就是了 缺點就是慢跟肥08/06 20:53
12FThisisnotptt: 剛剛試了一下 request 的方式 OK了 不曉得之前是什08/06 22:06
13FThisisnotptt: 麼問題卡住 總之應該還行 一樣要加點delay會比較穩08/06 22:07
14FThisisnotptt: http://codepad.org/25lxbLvn08/06 22:07
[問題] python 爬取pchome資料
[ Python ]14 留言, 推噓總分: +3
作者: kobe52072200 - 發表於 2016/04/11 11:42(8年前)
2FThisisnotptt: 剛剛試了一下,應該是JS的問題,所以我改用selenium04/11 13:38
3FThisisnotptt: 之後就搞定了 http://codepad.org/QeZAV5HO04/11 13:39
4FThisisnotptt: pip 可以直接裝,然後抓這個放入在同目錄:04/11 13:41
5FThisisnotptt: http://phantomjs.org/download.html04/11 13:41
11FThisisnotptt: 耶? 解壓縮之後會是一個資料夾對吧? 裡面有bin資料04/11 20:51
12FThisisnotptt: 夾,裡面有phantomjs。 把路徑改成他就可以了,或是04/11 20:51
13FThisisnotptt: 把這個phantomjs抓出來放在同木錄下他就會找得到了04/11 20:52
14FThisisnotptt: 應該有這個就搞得定了。04/11 20:53
[問題] Selenium與BeautifulSoup有什麼不同?
[ Python ]11 留言, 推噓總分: +2
作者: peace9527 - 發表於 2016/02/15 18:04(8年前)
1FThisisnotptt: bs只是用來處理你抓下來的網頁文字檔,所以seleniu02/15 19:25
2FThisisnotptt: m跟bs應該是不衝突的02/15 19:25
[問題] 關於科學計算 --- 擬合 (fit)
[ Python ]12 留言, 推噓總分: +4
作者: nomoyang - 發表於 2015/12/31 08:59(8年前)
8FThisisnotptt: http://myshare.dscloud.me/scipydoc/scipy_intro.12/31 20:14
9FThisisnotptt: html#id112/31 20:14
10FThisisnotptt: 兩行,懶得縮,這本書我覺得不錯,這是作者的放的12/31 20:15
11FThisisnotptt: 網路版,內容不錯,可以參考12/31 20:15
[問題] 傳遞參數問題
[ Python ]5 留言, 推噓總分: +1
作者: IAMPF - 發表於 2015/12/20 12:25(8年前)
1FThisisnotptt: 假如是lambda function能嗎? 可以的話就可以帶入變12/20 12:37
2FThisisnotptt: 數了12/20 12:37
[問題] return的疑惑
[ Python ]5 留言, 推噓總分: +1
作者: checkIO - 發表於 2015/12/11 13:37(8年前)
1FThisisnotptt: 碰到第一個return就會跳出了,多放幾個不會有問題的12/11 14:38
2FThisisnotptt: python中不特別放也不會怎樣,只是通則是建議要有12/11 14:39
3FThisisnotptt: 假設你覺得function裡面很多return不好看12/11 14:40
4FThisisnotptt: 可於if成立時讓result=a*b, else的時候result=None12/11 14:42
5FThisisnotptt: 最後再return result12/11 14:42
[問題] 關於GUI的開發
[ Python ]11 留言, 推噓總分: +3
作者: std610706 - 發表於 2015/11/11 23:04(8年前)
2FThisisnotptt: Pyside 的 QGraphicView 跟 pygame 滿類似的差異點11/12 10:34
3FThisisnotptt: 在於製作動畫部分Pygame比較方便直覺11/12 10:35
4FThisisnotptt: 移植android的話 pyside 可以但好像不是很好搞(懶)11/12 10:36
5FThisisnotptt: 另一個也可以移植ANDROID的python gui framework叫11/12 10:37
6FThisisnotptt: Kivy可以參考看看也是多平台+Android/iOs支援11/12 10:42
7FThisisnotptt: 另外有對觸控優化 網頁版:GTK3有提供HTML-Backend11/12 10:49
8FThisisnotptt: https://www.youtube.com/watch?v=fr8eo4RlPw411/12 10:49
9FThisisnotptt: 只是python-GTK 版本有沒有支援我就沒仔細研究了11/12 10:49
10FThisisnotptt: QWebview也是不錯的選擇,只是有些時候JS/CSS的表現11/12 10:50
11FThisisnotptt: 會跟Chrome/Fx/ie有差,有些套裝功能就是會出不來11/12 10:51
Re: [問題] 超新(文)手(盲)如何建立知識架構
[ Python ]2 留言, 推噓總分: +1
作者: MOONY135 - 發表於 2015/11/04 10:48(8年前)
25FThisisnotptt: 可不可以簡易敘述一下需求呢?說不定有適合度很高的11/03 16:47
26FThisisnotptt: 套件可以用11/03 16:47