作者查詢 / ides13

總覽項目: 發文 | 留言 | 暱稱
作者 ides13 在 PTT [ Python ] 看板的留言(推文), 共90則
限定看板:Python
[教學] 新竹 Python 基礎教學
[ Python ]23 留言, 推噓總分: +7
作者: chunk - 發表於 2018/02/16 21:27(6年前)
1Fides13: https://www.anaconda.com/download/02/17 00:34
2Fides13: 裝這個很快就上手了。02/17 00:35
[問題] 讓某些物件一起依序做某些事的語法
[ Python ]12 留言, 推噓總分: +5
作者: LessonWang - 發表於 2017/06/17 15:38(7年前)
5Fides13: [x.a for x in [v1,v2,f,h]]06/17 17:35
6Fides13: 試試 list comprehension06/17 17:37
Re: [問題] 排列組合的疑問
[ Python ]1 留言, 推噓總分: +1
作者: zerof - 發表於 2017/06/08 18:22(7年前)
1Fides13: 推06/09 09:16
[問題] 排列組合的疑問
[ Python ]8 留言, 推噓總分: +1
作者: ptt0720 - 發表於 2017/06/07 16:21(7年前)
3Fides13: 第七行遞迴,剛學時也覺得奇怪,反正就是可以不用問為什麼06/07 22:28
4Fides13: http://www.pythontutor.com/ 把code貼到這執行,看記憶體06/07 22:29
5Fides13: 怎麼被使用的,就可以了解了。不過,我試了還是不怎麼懂06/07 22:30
6Fides13: 要靜下心來慢慢想。另外,5改成3吧,不然步驟太多了。06/07 22:31
7Fides13: 剛剛看圖時發現,function object是一開始就準備好了。06/07 22:42
8Fides13: 進行for迴圈後,形成了3個combos再慢慢return。06/07 22:51
Re: [問題] Python2 unicode轉日文
[ Python ]11 留言, 推噓總分: +1
作者: ides13 - 發表於 2017/06/06 14:34(7年前)
9Fides13: 會想到去看font_manager.py,滿厲害的。06/07 17:51
10Fides13: 突然想到,為什麼不要把font複製到/Library/Fonts/內?06/07 21:53
11Fides13: 感覺複製下載字型到特定目錄會比較快些。06/07 21:54
Re: [問題] Python2 unicode轉日文
[ Python ]9 留言, 推噓總分: +1
作者: TZULIU - 發表於 2017/06/06 01:22(7年前)
1Fides13: from matplotlib.font_manager 可以設定要使用的字型06/06 01:41
2Fides13: 日文字型:http://www.maisfontes.com/osaka06/06 01:41
[問題] Python2 unicode轉日文
[ Python ]6 留言, 推噓總分: +4
作者: TZULIU - 發表於 2017/06/05 14:55(7年前)
3Fides13: 先.encode('utf8'),再.decode('utf8'),試試看。06/05 21:16
4Fides13: 3.0以上只要使用str即可,str(dict_index.keys())06/05 21:23
6Fides13: https://goo.gl/sQ6Nd306/05 23:30
[問題] 字串切割問題
[ Python ]12 留言, 推噓總分: +6
作者: LessonWang - 發表於 2017/06/01 12:31(7年前)
1Fides13: slice[start:end:step],頭尾空白表不指定,step是-1。06/01 12:42
2Fides13: s[::-1]表示從尾巴執行到開始,每步驟是向後1步。06/01 12:44
3Fides13: http://tinyurl.com/ln38jue06/01 12:49
7Fides13: 在start和end的負號是指倒數第幾個。在step負號指反向。06/01 17:17
[問題] 學習python課程
[ Python ]17 留言, 推噓總分: +8
作者: angel50732 - 發表於 2017/05/24 13:29(7年前)
1Fides13: http://tinyurl.com/mn6awv305/24 13:47
Re: [問題] 詢問list如行相加
[ Python ]9 留言, 推噓總分: +2
作者: ides13 - 發表於 2017/05/11 09:49(7年前)
6Fides13: 謝謝,終於了解了。查m的值沒意思,要查看c的值。謝謝。05/11 13:02
9Fides13: 謝謝,學習了。05/12 11:19