{"action":"created","issue":{"url":"https://api.github.com/repos/mdecourse/cd2018/issues/13","repository_url":"https://api.github.com/repos/mdecourse/cd2018","labels_url":"https://api.github.com/repos/mdecourse/cd2018/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/mdecourse/cd2018/issues/13/comments","events_url":"https://api.github.com/repos/mdecourse/cd2018/issues/13/events","html_url":"https://github.com/mdecourse/cd2018/issues/13","id":299184500,"number":13,"title":"cd-week1","user":{"login":"mdecourse","id":20835445,"avatar_url":"https://avatars3.githubusercontent.com/u/20835445?v=4","gravatar_id":"","url":"https://api.github.com/users/mdecourse","html_url":"https://github.com/mdecourse","followers_url":"https://api.github.com/users/mdecourse/followers","following_url":"https://api.github.com/users/mdecourse/following{/other_user}","gists_url":"https://api.github.com/users/mdecourse/gists{/gist_id}","starred_url":"https://api.github.com/users/mdecourse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdecourse/subscriptions","organizations_url":"https://api.github.com/users/mdecourse/orgs","repos_url":"https://api.github.com/users/mdecourse/repos","events_url":"https://api.github.com/users/mdecourse/events{/privacy}","received_events_url":"https://api.github.com/users/mdecourse/received_events","type":"User","site_admin":false},"labels":[{"id":844458492,"url":"https://api.github.com/repos/mdecourse/cd2018/labels/%E8%AA%B2%E7%A8%8B%E5%85%A7%E5%AE%B9","name":"課程內容","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2018-02-22T00:52:45Z","updated_at":"2018-03-05T16:59:34Z","closed_at":null,"author_association":"OWNER","body":"2a - 2018/02/27 (二) 早上 1-4 節 (請 2a 班代通知 2b 班代, 要求 2b 修課學員根據下列說明完成準備)\r\n2b - 2018/02/28 (三) 早上 1-4 節 (放假)\r\n\r\n課程名稱: 協同產品設計實習\r\n\r\n說明: 自 2018 Spring 開始, 由 http://lab.kmol.info 負責開設的課程, 均利用 Github 系統紀錄課程內容, 各修課學員必須以學校所配發的 Gmail 帳號, 登記可辨識學號的 Github 帳號, 並配合各週上課內容 issue, 提出相關問題、心得或討論議題.\r\n\r\n本課程在規劃階段所建立的 issues, 請參見 [CD 課程規劃議題](https://github.com/mdecourse/cd2018/issues?q=is%3Aissue+is%3Aclosed). 本課程乃延續 [2017 Fall電腦輔助設計實習課程](http://lab.kmol.info/2017fall)內容, 並加入同步與非同步協同機制, 期修課學員能在多元協同模式下完成機械、電子與資訊科技相關內容的產品開發, 電腦輔助設計實習課程以鋼球循環運動系統之開發為主，而協同產品設計實習課程則在鋼球運動系統間再納入鋼球搬運行走機構.\r\n\r\n上課學員請確認了解下列說明:\r\n\r\n1. 已經建立以學號為主要帳號內容的 Github 帳號.\r\n\r\n2. 本學期的可攜隨身程式系統為  [kmol_level2](https://drive.google.com/file/d/1qSVNH1052bcPyepgGfxN8dciufOM0gUu/view?usp=sharing) (容量約 1GB), 請在 week2 上課前將系統存入個人的 USB 3.0 以上規格的隨身碟, 此後上課均以此一系統中的套件版本為主.\r\n\r\n3. 請在電腦教室中下載 kmol_level2, 解開壓縮後, 檢視所提供的內容, 並瀏覽  [CD 課程規劃議題](https://github.com/mdecourse/cd2018/issues?q=is%3Aissue+is%3Aclosed). 想像一下該如何分組? 該如何在隨後的課程內容中, 完成分組協同[任務一](https://github.com/mdecourse/cd2018/issues/1#issuecomment-360074262)與[任務二](https://github.com/mdecourse/cd2018/issues/1#issuecomment-360189388)?\r\n\r\n參考資料:\r\n\r\n[設計、設計方法與機械設計](http://www.pyslvs.com/blog/scrum_design-design_methods-and-mechanical-design.html)\r\nhttps://github.com/kmolab/pymcadp\r\nhttps://github.com/kmolab/2017fall\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mdecourse/cd2018/issues/comments/370487658","html_url":"https://github.com/mdecourse/cd2018/issues/13#issuecomment-370487658","issue_url":"https://api.github.com/repos/mdecourse/cd2018/issues/13","id":370487658,"user":{"login":"s40523124","id":22387285,"avatar_url":"https://avatars0.githubusercontent.com/u/22387285?v=4","gravatar_id":"","url":"https://api.github.com/users/s40523124","html_url":"https://github.com/s40523124","followers_url":"https://api.github.com/users/s40523124/followers","following_url":"https://api.github.com/users/s40523124/following{/other_user}","gists_url":"https://api.github.com/users/s40523124/gists{/gist_id}","starred_url":"https://api.github.com/users/s40523124/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s40523124/subscriptions","organizations_url":"https://api.github.com/users/s40523124/orgs","repos_url":"https://api.github.com/users/s40523124/repos","events_url":"https://api.github.com/users/s40523124/events{/privacy}","received_events_url":"https://api.github.com/users/s40523124/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T16:59:34Z","updated_at":"2018-03-05T16:59:34Z","author_association":"NONE","body":"第8組 40523124 練習利用python 將座位表分組\r\n[第8組倉儲](https://github.com/s40523124/cd2018)\r\n\r\n```\r\n#用with 開起資料 並以'fl'為名進行逐行讀取 動作\r\nwith open ('2a.txt') as fl:\r\n    da = fl.readlines()\r\n#將2a.txt資料中的'換行'字符轉換成無字元\r\n#'d'為轉換的名義，以for 定義'd'的範圍\r\n    da = [d.replace('\\n', '') for d in da]\r\n#創造新字串\r\nz = 0\r\n#讓'i'成為迴圈\r\n##print(da)\r\nfor i in range(len(da)):\r\n#以資料中的行數為次數,分割為多個區塊的list\r\n    daz = da[i].split( )\r\n    ##print(daz)\r\n#將daz中的特殊字元去除\r\n    gg = [d.strip( ) for d in daz]\r\n    ##print(gg)\r\n#如果i/3商數為0時\r\n    for i in range(len(gg)):\r\n        if i%3 == 0:\r\n            z += 1\r\n#str(數字)行成字串，字串 + 字串 = 字串字串\r\n            print('第' + str(z) + '組:' )\r\n            print(gg[i])\r\n        else :\r\n            print(gg[i])\r\n\r\n```\r\n```\r\n第1組:\r\n40523115\r\n40523108\r\n40523116\r\n第2組:\r\n40523144\r\n40523111\r\n40523141\r\n第3組:\r\n40523104\r\n40523102\r\n40523123\r\n第4組:\r\n40523137\r\n40523117\r\n40523135\r\n第5組:\r\n40523147\r\n40523146\r\n40523145\r\n第6組:\r\n40523122\r\n40523136\r\n40523132\r\n第7組:\r\n40523127\r\n40523126\r\n40523125\r\n第8組:\r\n40523124\r\n40523118\r\n40523131\r\n第9組:\r\n40523121\r\n40523120\r\n40523119\r\n第10組:\r\n40523105\r\n40523106\r\n40523107\r\n第11組:\r\n40523143\r\n40523128\r\n40523129\r\n第12組:\r\n40523130\r\n40523139\r\n40523133\r\n第13組:\r\n40523142\r\n40523148\r\n40523140\r\n第14組:\r\n40523113\r\n40523138\r\n```"}}
{"actor":{"display_login":"s40523124"}}