作者查詢 / octantis

總覽項目: 發文 | 留言 | 暱稱
作者 octantis 在 PTT [ Python ] 看板的留言(推文), 共92則
限定看板:Python
[問題] 關於程式輸出時如何呼叫第二支程式的問題
[ Python ]9 留言, 推噓總分: 0
作者: busystudent - 發表於 2016/04/22 02:45(9年前)
3Foctantis: 所以我的回答就是一種答案,M大的dict也是不錯的方法04/22 13:22
4Foctantis: 但我在想你資料那麼多如果出現key重覆的情況dict就不好04/22 13:23
[問題] 字串中有單/雙引號
[ Python ]7 留言, 推噓總分: +4
作者: Amulart - 發表於 2016/04/21 21:57(9年前)
3Foctantis: 不懂你"無法分割同時有單/雙引號的字串"是什麼意思?04/22 02:27
4Foctantis: 如果是'test, "test1", \'test2\''是可以分的啊04/22 02:28
[問題] json轉csv遇到編碼問題
[ Python ]6 留言, 推噓總分: 0
作者: Anny19 - 發表於 2016/04/19 15:17(9年前)
1Foctantis: with open('write_test2.csv', 'w', encoding='utf8')04/19 17:23
[問題] Python讀取json的編碼問題
[ Python ]7 留言, 推噓總分: +3
作者: jimmy15923 - 發表於 2016/04/19 11:17(9年前)
4Foctantis: 如前兩樓,雖然文件是utf8 但open預設以你系統encoding04/19 11:47
5Foctantis: 來解碼,所以需特別加上相對應的encoding如樓上04/19 11:48
[問題] 網頁分析之print問題
[ Python ]10 留言, 推噓總分: 0
作者: busystudent - 發表於 2016/04/02 00:04(9年前)
8Foctantis: 還有shop_table[0].findAll('a',{'href':True})無意義04/02 12:22
9Foctantis: 你沒用任何變數去reference它04/02 12:23
[問題] 自動載入網頁且分析問題
[ Python ]18 留言, 推噓總分: +2
作者: busystudent - 發表於 2016/04/01 23:20(9年前)
11Foctantis: 看你的描述應該可以用generator, 一次跑一個網址04/02 12:08
12Foctantis: 重看一次不用generator, 就用for迴圈跑就好04/02 12:20
[問題] 安裝SCIPY遇到問題
[ Python ]15 留言, 推噓總分: +6
作者: misimisu - 發表於 2016/03/17 11:05(9年前)
1Foctantis: 直接下載Linux distro,如果覺得太大,去這個網址下載03/17 12:25
2Foctantis: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy03/17 12:25
3Foctantis: 看版本需求下載後至下載資料夾用pip install安裝03/17 12:26
4Foctantis: 在windows上有些套件會安裝困難,好像需要C函式庫的支持03/17 12:33
5Foctantis: 還是什麼我忘了,那網站是加州大學教授將一些在windows03/17 12:34
6Foctantis: 上不好安裝的套件重新包裝03/17 12:34
10Foctantis: 之前裝anaconda光開著CPU就一直維持100%,不知道好了沒?03/17 17:48
[問題] 排序多個 dict 的集合
[ Python ]6 留言, 推噓總分: 0
作者: zha0 - 發表於 2016/03/12 14:33(9年前)
5Foctantis: 學到了樓上的方法感覺不錯03/12 15:37
Re: [問題] 有關於寫檔及取代問題
[ Python ]10 留言, 推噓總分: +4
作者: justfor0223 - 發表於 2016/03/10 22:46(9年前)
3Foctantis: 如果不是ini格式(無section), 該怎麼解析? 當字串硬拆?03/10 23:52
4Foctantis: 還是有其他Module可以解析?因為我試無Section時使用03/10 23:53
5Foctantis: configparser會跳出Exception03/10 23:54
8Foctantis: 感謝03/11 09:39
Re: [問題] 將list快速寫入檔案的方式?
[ Python ]7 留言, 推噓總分: +2
作者: stimim - 發表於 2016/03/08 11:54(9年前)
1Foctantis: 請問你是怎麼監看時間的?03/08 18:20
7Foctantis: 感謝你, 我去試試, 我之前都用timeit只是他有圖好方便XD03/09 11:13