作者查詢 / rexyeah

總覽項目: 發文 | 留言 | 暱稱
作者 rexyeah 在 PTT [ Python ] 看板的留言(推文), 共187則
限定看板:Python
[問題] 新手xpath問題
[ Python ]5 留言, 推噓總分: +2
作者: wavek - 發表於 2018/10/24 23:24(7年前)
2Frexyeah: 用devtool 直接複製的xpath也抓不到嗎?10/25 14:07
[問題] CrossEntropy與MeanSquared問題
[ Python ]10 留言, 推噓總分: +3
作者: pfii1997119 - 發表於 2018/10/21 13:00(7年前)
4Frexyeah: 每次看到檔名有空白身體都很癢想更名 XD10/21 15:40
[問題] 請問format輸出可以是整數嗎?
[ Python ]20 留言, 推噓總分: +7
作者: cscscs56 - 發表於 2018/10/13 11:40(7年前)
4Frexyeah: 只用zfill不行嗎?10/13 12:43
14Frexyeah: ?? print str(input()).zfill(16)10/13 16:44
20Frexyeah: 原來如此XD10/14 19:18
Re: [問題] 新手list問題請教
[ Python ]10 留言, 推噓總分: +3
作者: s077022 - 發表於 2018/09/28 11:09(7年前)
1Frexyeah: 你的第三步 % 10**4 再zfill然後轉成數字陣列就好了09/28 11:37
2Frexyeah: 10 ** 4可以改成 10 ** len(a) # a = [9,9,9,9]09/28 11:38
Re: [問題] 新手list問題請教
[ Python ]4 留言, 推噓總分: +1
作者: rexyeah - 發表於 2018/09/26 11:15(7年前)
2Frexyeah: Output: [1, 0, 0, 9] 不對嗎? 不是每個+1 進位歸0嗎?09/26 12:49
4Frexyeah: 了解,那cutekid的解答是正確的09/26 13:47
Re: [問題] 如何持續更新print內容
[ Python ]3 留言, 推噓總分: 0
作者: rexyeah - 發表於 2018/09/22 21:49(7年前)
3Frexyeah: 我是2.7 on Ubuntu std lib. Windows要安裝curses mod.09/25 12:04
[問題] 在讀取xml檔時碰到瓶頸
[ Python ]5 留言, 推噓總分: +1
作者: mizumutsuki - 發表於 2018/09/23 20:51(7年前)
3Frexyeah: file='C:\your_path\menu.html' 給絕對路徑09/23 21:14
[問題] 如何持續更新print內容
[ Python ]19 留言, 推噓總分: +10
作者: renshin - 發表於 2018/09/21 14:32(7年前)
3Frexyeah: 不清掉螢幕重印?你是要控制stdout嗎?09/21 15:39
6Frexyeah: 那你印之前清不就好了?os.system(‘cls’)09/21 15:53
10Frexyeah: Then, try google python update stdout09/21 16:10
[問題] 爬蟲自動更新程式
[ Python ]46 留言, 推噓總分: +5
作者: WENroger - 發表於 2018/09/19 16:36(7年前)
41Frexyeah: gm真的很有耐心的仔細回答09/19 23:32
[問題] 請問http digest 認證
[ Python ]6 留言, 推噓總分: +4
作者: wisdoms0817 - 發表於 2018/09/16 23:54(7年前)
1Frexyeah: 可以看到input應該就可以抓的到,要看網頁結構才能判斷09/17 09:11
4Frexyeah: document.querySelectorAll('input'); 這也沒有?09/17 12:00
5Frexyeah: 最直覺就是在你看到的input上按右鍵->inspect (檢查?)09/17 12:03