看板 [ Python ]
討論串[問題] 分類後給代號
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 7→)留言9則,0人參與, 最新作者Neisseria (Neisseria)時間10年前 (2015/04/16 14:49), 10年前編輯資訊
0
0
0
內容預覽:
參考看看. num = {} # for how many times a key appears. seq = {} # for when a key appears. output = []. with open('file1.txt') as f:. for line in f:. k = l
(還有191個字)

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者Dong0129 (阿東)時間10年前 (2015/04/16 12:29), 10年前編輯資訊
0
0
0
內容預覽:
file1: file2:. asia 1.1. asia 1.2. usa 2.1. usa 2.2. asia 1.3. eup 3.1. usa 2.3. eup 3.2. . .. . .. . .. 各位版友好,. 假設File1裡有多筆資料,. 請問有沒有辦法可以將File1的資料轉換如
(還有185個字)
首頁
上一頁
1
下一頁
尾頁