作者查詢 / Thisisnotptt

總覽項目: 發文 | 留言 | 暱稱
作者 Thisisnotptt 在 PTT [ Python ] 看板的留言(推文), 共132則
限定看板:Python
[問題] python string.strip 求解惑
[ Python ]19 留言, 推噓總分: 0
作者: Thisisnotptt - 發表於 2015/07/07 23:04(10年前)
1FThisisnotptt: 另外 '100'.strip('.0') 也是顯示 1,究竟哪邊出了07/07 23:05
2FThisisnotptt: 問題07/07 23:06
6FThisisnotptt: 正常來說'100'.strip('.0')應該在第一次比對,去除07/07 23:18
7FThisisnotptt: '.0'的時候就應該失敗才對,因為字串中不存在'.0'07/07 23:19
9FThisisnotptt: 但是strip method還是把後面兩個0都拔了,究竟是為07/07 23:21
10FThisisnotptt: 為什麼?07/07 23:21
12FThisisnotptt: 喔喔,所以只要有'.'與'0'都通殺就對了?07/07 23:22
13FThisisnotptt: 那就合理了,謝謝你07/07 23:22
15FThisisnotptt: 一直以來我都以為是直接比對整個字串...慘07/07 23:27
[問題] 請問擷取原始碼中文問題
[ Python ]11 留言, 推噓總分: +1
作者: Czero - 發表於 2015/07/03 23:25(10年前)
2FThisisnotptt: 我很懶,我都用django的smart_string來處理這種事,07/04 00:10
3FThisisnotptt: 編碼什麼的幾乎都能搞定,超方便的啦07/04 00:10
[問題] python抓網頁資料問題
[ Python ]7 留言, 推噓總分: +3
作者: sariel0322 - 發表於 2014/12/23 21:40(11年前)
2FThisisnotptt: http://pastebin.com/McZWCQq712/23 23:55
3FThisisnotptt: 你試試看行不行,有用到mechanize套件12/23 23:56
4FThisisnotptt: 送出相對應的POST他就會給你對的資料了12/23 23:58
[問題] 透過 Python 即時更新 Excel
[ Python ]12 留言, 推噓總分: +3
作者: largesperm - 發表於 2014/12/16 20:54(11年前)
3FThisisnotptt: 這看起來很像是你要的http://xlwings.org/12/18 14:43
4FThisisnotptt: 可以於開著的狀態下寫入跟讀取excel12/18 14:46
[問題] py2exe使用後有ERROR
[ Python ]7 留言, 推噓總分: +3
作者: wsqa - 發表於 2014/09/25 22:59(11年前)
1FThisisnotptt: 我之前也遇到這個問題,換CX_freeze就會動了10/01 16:42
2FThisisnotptt: 我用的是GUI2EXE10/01 16:43
4FThisisnotptt: 坦白講 一堆人在問這個問題,也很多教學文,但我都10/02 01:57
5FThisisnotptt: 有看沒懂,所以直接選比較懶人的方法做10/02 01:58
6FThisisnotptt: 抓完GUI2EXE之後安裝CX_Freexe再點開CUI2EXE設定CX10/02 02:01
7FThisisnotptt: 的路徑,以後應該就可以無腦打包了10/02 02:01
[問題] 新手想問大家都把程式寫在哪呢?
[ Python ]19 留言, 推噓總分: +13
作者: sleeeve - 發表於 2013/12/24 16:36(12年前)
11FThisisnotptt:spyder +1 裝 python xy 就都有了12/25 14:40
[問題] 使用easy_install和pip安裝scipy、pyleargist問題
[ Python ]4 留言, 推噓總分: +2
作者: kotou - 發表於 2013/09/02 10:38(12年前)
3FThisisnotptt:直接裝python(x,y)常用套件都有,還有內建spyder編09/04 15:05
4FThisisnotptt:輯器,win跟linux兩個平台都有09/04 15:05
[問題] 如何透過usb port送滑鼠訊號到裝置
[ Python ]5 留言, 推噓總分: +1
作者: lookat1205 - 發表於 2013/08/27 17:51(12年前)
1FThisisnotptt:AutoPy 可以讓滑鼠移動與輸出按鍵給電腦,但是應該08/28 01:12
2FThisisnotptt:不能穿越USB把訊號給電視,除非是用雙螢幕模式,把08/28 01:12
3FThisisnotptt:電視當成第二個螢幕才行08/28 01:13
Re: [問題]爬蟲問題
[ Python ]9 留言, 推噓總分: +2
作者: localhostphp - 發表於 2013/08/24 16:27(12年前)
3FThisisnotptt:感謝大大,請問不用for的話 有辦法可以避免被認認出08/25 00:53
4FThisisnotptt:是機器人嗎?08/25 00:53
5FThisisnotptt:不知道換不同代理可不可以蒙混過去?08/25 00:54
[問題] C 呼叫Python
[ Python ]13 留言, 推噓總分: +1
作者: Thisisnotptt - 發表於 2013/07/29 00:05(12年前)
7FThisisnotptt:恩 確定是windows的環境下,試了兩台電腦都會這樣,07/29 01:41
8FThisisnotptt:有點奇怪,因為編譯的時候還會跳出Pyconf.h,然後要07/29 01:42
9FThisisnotptt:求io.h的位置07/29 01:42
10FThisisnotptt:恩...看來應該是小弟CVI的問題,剛剛試著用DEV C 編07/29 01:47
11FThisisnotptt:譯就過了,沒跳錯誤,這好像是CVI的通病,剩的小弟再07/29 01:49
12FThisisnotptt:try看看到底CVI到底要怎麼裝上python= =07/29 01:50