Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PyCon by Python

8495265d0f883004d3be2f81a73ad1ce?s=47 Park Hyunwoo
August 18, 2018

PyCon by Python

파이콘 한국 2018 라이트닝토크에서 발표했던 자료입니다.

8495265d0f883004d3be2f81a73ad1ce?s=128

Park Hyunwoo

August 18, 2018
Tweet

Transcript

  1. ౵੉ॆਵ۽ ౵੉௑ೞӝ ߅അ਋, zerobased.co “౵੉ॆਵ۽ ౵੉௑ೞӝ”ܳ ߊ಴ೡ ߅അ਋ੑפ׮. ৵ ౵੉ॆਵ۽

    ೧ঠೞחо ফӝ೧ࠁ۰Ҋ ೤פ׮.
  2. ౵੉௑ ೠҴ 2018 കಕ੉૑ীࢲ ߊ஀೮णפ׮.

  3. Ѥъೠ Ҵղ ౵੉ॆ ࢤక҅ী ૑ࣘ੸ੋ ࠁఙ੉ غҊ੗ ౵੉௑ ೠҴਸ ৈח

    ੉ਬח “౵੉ॆ ࢤక҅ী ૑ࣘ੸ੋ ࠁఙ੉ غҊ੗” ۄҊ ೤פ׮.
  4. ౵੉ॆ ੿ӏ ಴അधਸ Ѩ࢝ೞ׮о ݅դ ਢಕ੉૑ੋؘਃ,

  5. https://www.w3resource.com/python- exercises/re/python-re-exercise-47.php ੜ ݽܰ؍ ղਊਸ ঌѱ غয જওणפ׮. ೞ૑݅ URLਸ

    ࠁפ phpо ੓঻णפ׮.
  6. .php phpо ੓णפ׮.

  7. .php ੉ ಕ੉૑ ࡺ݅ ইפۄ ౵੉ॆ കಕ੉૑о php۽ غয ੓ਸ

    ࣻب ੓Ҋ – ࢎप਷ ইפ૑݅ – ߹ ޙઁח ইתפ׮.
  8. ౵੉ॆ੄ о੢ ؀઺੸ੋ ۠ఋ੐ੋ CPythonب ઱۽ C ঱য۽ ੘ࢿغয ੓૑

    ঋ਷оਃ?
  9. C ঱যח ѾҴ যڃ ঱য۽ ߸ജغաਃ? Clang੄ LLVM? X86-64 ASM?

  10. Community & Diversity ೞ૑݅, ౵੉ॆ ழޭפ౭ ղীࢲ ׮ܲ ঱যܳ ցޖ

    ݆੉ ফӝೞח Ѫ਷ ޙઁо ؼ ࣻ ੓णפ׮.
  11. ழޭפ౭о ૑ೱೞח ߄ী ୽पೞӝ য۵ӝ ٸޙੑפ׮. Community & Diversity

  12. ੉ઁө૑ ࠊ৳؍ ৈ۞ ೐۽Ӓې߁ ঱য, ೐ۨ੐ਕ௼੄ ழޭפ౭੄ ൜ݎࢿ࣭ܳ جইࠁݶ જѷणפ׮.

    Community & Diversity
  13. ౵੉௑ ೠҴ കಕ੉૑ח ౵੉ॆ / ੢Ҋ ӝ߈ਵ۽ ٜ݅যઉ ੓णפ׮.

  14. Python 56.2% HTML 32% CSS 7.7% ӒܻҊ JavaScript 4.1%۽ ੉ܖযઉ

    ੓णפ׮.
  15. ౵੉௑ ೠҴ੄ ୐ കಕ੉૑ࠗఠ ੢Ҋ۽ ٜ݅য ৳णפ׮. ചݶ ইې ࢚࢝੉

    ੊ࣼೠ ࠙ب ҅दѷ૑݅, ӝ࠙ ఒ੉ѷભ.
  16. ౵੉ॆ ஶಌ۠झܳ ળ࠺ೞח ࢎۈٜ੉ ౵੉ॆী ੊ࣼೞݶ ৈ۞о૑ ੉ਬ۽ જ׮Ҋ ࢤп೤פ׮.

  17. ੌױ കಕ੉૑ب ౵੉ॆਵ۽ ٜ݅যઉ ੓ਵפ ౵੉ॆ ࢎਊ੗ח ߓਕࢲ ӝৈೞѢա Ҋ஖ӝ

    औणפ׮.
  18. ߊ಴੗о ઁ୹ೠ ߊ಴ ޙࢲب Ѩషೞחؘ ౵੉ॆਸ ݽܰݶ ઁ؀۽ Ѩషೞӝ য۵׮Ҋ

    ࢤп೤פ׮.
  19. ੘਷ ӝ֛ಿਸ ݅ٚ׮Ҋ ೧ب ౵੉ॆ ۽Ҋ ࢚࢝җ PEPܳ ੉೧ೞҊ ٜ݅ݶ

    ӝ࠙੉ જই૘פ׮.
  20. ੉۠ ੼ীࢲ ౵੉ॆ ࢎਊ੗ٜ੉ ૒੽ ળ࠺ೞח ౵੉௑ ೠҴ੉ ׮ܲ ѐߊ੗

    ஶಌ۠झ৬ ׮ܲ ੄޷ܳ о૓׮Ҋ ࢤп೤פ׮.
  21. ೞ૑݅ ߈؀۽ ழޭפ౭ܳ ٜ݅Ҋ ೯ࢎܳ ૓೯ೞחؘ ੓য ೙ਃೠ ӝࣿ਷ ౵੉ॆ݅ਵ۽ח

    ࠗ઒ೠؘਃ,
  22. ੘֙੄ ౵੉௑ ਍৔ী ؀ೠ ߊ಴ܳ ଵҊ೧઱दݶ غҊ, दр ҙ࢚҅ ؊

    ੉࢚੄ ੗ࣁೠ ࢸݺ਷ ࢤۚ೤פ׮.
  23. ੷ח ৢ೧ ળ࠺ਤਗഥח ইפ঻૑݅, ౵੉௑ ೠҴ ೐۽Ӓ۔࠘ਸ ݅٘חؘ ب਑ਸ ઱঻णפ׮.

  24. ࠁా ଼ਸ ٜ݅ ٸח ੉۠ ੹ޙ ಞ૘ ೐۽Ӓ۔ਸ ࢎਊ೤פ׮. (୹୊:

    adobe.com)
  25. ળ࠺ਤਗഥ ࢎۈٜ ઺ ੌࠗ݅ Ӓې೗ ٣੗ੋҗ ઑ౸ ੘সਸ ೡ ࣻ

    ੓ਵ޲۽ য۰਑੉ ੓णפ׮.
  26. 16 for patron in preset.patrons: 17 patron = patron.rsplit('/', 1)

    18 if len(patron) == 2: 19 patrons.append({'name': patron[0], 'org': patron[1]}) 20 else: 21 patrons.append({'name': patron[0]}) 22 23 page = template.render({ 24 'coc': preset.coc, 25 'sponsor_levels': preset.sponsor_levels, 26 'staffs': preset.staffs, 27 'volunteers': preset.volunteers, 28 'patrons': patrons, 29 'keynotes': preset.keynotes, 30 'programs': preset.programs, 31 'session_categories': preset.session_categories, 32 }) 33 34 # Save result as html file 35 with open("pyconkr-2018-booklet.html", "wb") as file: 36 file.write(page.encode('utf-8')) 37 38 # Build 39 if os.environ.get('TARGET') == 'production': 40 if not os.environ.get('DOCRAPTOR_APIKEY'): 41 sys.exit('Please set DOCRAPTOR_APIKEY to bulid production pdf!') 42 import docraptor 43 44 baseurl = "https://lqez.github.io/pyconkr-2018-booklet/" 45 docraptor.configuration.username = os.environ['DOCRAPTOR_APIKEY'] 46 doc_api = docraptor.DocApi() Ӓېࢲ ੉ߣীח ౵੉ॆਵ۽ ٜ݅য ࠁওणפ׮. ޛۿ ׮ܲ ঱যੋ HTMLҗ CSSب ࢎਊ೮णפ׮.
  27. pyconkr.pdf pyconkr.html preset.py ੋࣧ ؘ੉ఠܳ ݅٘ח җ੿਷ ௼ѱ 3ױ҅۽ աׇ૘פ׮.

  28. pyconkr.pdf pyconkr.html preset.py ੌױ ೐۽Ӓ۔࠘ী ࢎਊؼ ؘ੉ఠܳ ౵੉ॆ dict ഋधਵ۽

    ળ࠺೤פ׮.
  29. ؘ੉ఠח ౵੉௑ കಕ੉૑ী ੓ਵפ ੢Ҋ ؘ੉ఠ߬੉झী ੽ࣘ೧ࢲ ؘ੉ఠܳ ߉ਵݶ ؾפ׮.

  30. ۽Ӓੋ ೤פ׮. ۽Ӓੋ੉ উؾפ׮. $ ssh lqez@pycon.kr Using keyboard-interactive authentication.

    lqez@pycon.kr password: Access denied lqez@pycon.kr password: Access denied $
  31. ળ࠺ਤਗഥо ইפݶ ੽ࣘೡ ࣻ হणפ׮. ੷ח ੉ઁ ળ࠺ਤਗഥо ইתפ׮. Access

    denied
  32. ೠ ٸ ૒੽ ٜ݅঻؍ കಕ੉૑ܳ झ௼ېೖա ࠭౭ಽ㙋ਵ۽ ӗযঠ ೠ׮פ ӝ࠙੉

    ੉࢚೤פ׮.
  33. pyconkr.pdf pyconkr.html preset.py ইޖౡ, ؘ੉ఠܳ ӗҊ ࣚਵ۽ ࠂࢎ ࠢৈ֍ӝ ೧ࢲ

    ౵੉ॆ dict ഋधਵ۽ ળ࠺೤פ׮. sponsor_levels = [ { 'name': '׮੉ইހ٘', 'code': 'diamond', 'mode': 'full', 'sponsors': [ { 'name': 'ߛ௼࢟۞٘', 'img': 'banksalad.svg', 'desc': '''ӝࣿ੉ Әਲ਼ਸ ߄Ե ࣻ ੓ਸөਃ? ߛ௼࢟۞٘ח ’਋ܻ’੄ Әਲ਼ਸ ߄ }, { 'name': 'ೞ੉ಌழ֏౟', 'img': 'hyperconnect.svg', 'desc': '''ೞ੉ಌழ֏౟ח ੹ ࣁ҅ 2র ׮਍۽٘ܳ ӝ۾ೠ জ 'ই੗ܰ'৬ ೣԋ }, ], }, {
  34. pyconkr.pdf pyconkr.html Jinja2ܳ ੉ਊ೧ HTML ޙߨਸ о૓ ޙࢲܳ ٜ݅যշפ׮. ੉޷૑ח

    ੋࣧܳ ਤ೧ svg৬ э਷ ߭ఠ ౵ੌ۽ ળ࠺೤פ׮. preset.py
  35. pyconkr.pdf pyconkr.html ੉ઁ HTML ౵ੌਸ PDF۽ ߸ജೞݶ ؾפ׮. preset.py <!DOCTYPE

    html> <html dir="ltr" lang="ko-KR"> <head> <meta charset="utf-8" /> <title>౵੉௑ ೠҴ 2018</title> <meta name="author" content="PyCon Korea 2018 Organizing team"/> <meta name="date" content="2018-07-10"/> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <div id="frontcover"> <div class="wrap"> <img class="slogan" src="images/pyconkr2018-slogan-white-left.svg"> <h2>౵੉௑ ೠҴ 2018</h2> <h3>ࢲ਎, ௏ুझ</h3> <p><strong>झ೐ܽ౟</strong> / 8ਘ 15ੌ, 17ੌ</p> <p><strong>ౚషܻ঴</strong> / 8ਘ 17ੌ</p> <p><strong>ஶಌ۠झ</strong> / 8ਘ 18ੌ, 19ੌ</p> <img class="logo" src="images/pyconkr2018-logo-white.svg"> <img id="item-7" src="images/pyconkr2018-item-7.svg"> <img id="item-8" src="images/pyconkr2018-item-8.svg"> </div> </div>
  36. pyconkr.pdf pyconkr.html preset.py HTML/CSS੄ PDF߸ജ਷ PrinceXML ١੄ ੹ޙ ߸ജ ೐۽Ӓ۔ਸ

    ࢎਊ೤פ׮.
  37. ੷ח PrinceXMLਸ ࢎਊೞח DocRaptorۄח ৡۄੋ ࢲ࠺झী оੑ೧ ੷۴ೞѱ ੘সೡ ࣻ

    ੓঻णפ׮.
  38. DocRaptorח рױೠ docraptor-python ۄ੉࠳۞ܻܳ ઁҕೞҊ ੓য, ಞܻೞѱ ࢎਊೡ ࣻ ੓঻णפ׮.

  39. ೞ૑݅ ੘਷ ೐۽Ӓ۔࠘ী ݆਷ ղਊਸ ׸ӝীח ೠ҅о ੓णפ׮.

  40. ೞ૑݅ ੘਷ ೐۽Ӓ۔࠘ী ݆਷ ղਊਸ ׸ӝীח ೠ҅о ੓णפ׮.

  41. Ӓ ٸ ౵੉௑ APAC 2016 ۄ੉౟׬ ష௼ীࢲ ࠌ؍ Jamie J

    Seol ש੄ summariz3о ࢤпլणפ׮.
  42. ੜ ؾפ׮. ೞ૑݅ റਗࢎ۽ࠗఠ ഛੋਸ ߉ইঠ ೞח ޙઁо ੓য, ѾҴ

    ੉ۧѱ ೞ૓ ޅೞҊ ׮द ਃ୒೧ࢲ ߉ওणפ׮.
  43. ೐۽Ӓ۔ਸ ࢎਊ೧ࢲ ಞ૘ೞח ҃਋ী ޙࢲܳ ؘ੉ఠ۽ ࠁҊ ׮ܙ ࣻ ੓׮ח

    ੼ਸ ফӝೞҊ र঻णפ׮.
  44. ୡߥ ߣ৉੉ա ݏ୺ߨ Ѩࢎ੄ ҃਋ب ࠺तೞѱ ୊ܻೡ ࣻ ੓׮Ҋ ࢤп೤פ׮.

  45. ੉ۧѱ औѱ ՘դ Ѥ ইתפ׮. ѐੋറਗ੗ ࠙ ઺ী ੉ݽ૑ܳ ֍ਵन

    ࠙੉ ੓঻णפ׮.
  46. ࢎਊೞ؍ Noto Sansী ੉ݽ૑о ನೣغয ੓૑ ঋই, Free license ੉ݽ૑ܳ

    ߉ই ੉޷૑۽ ୊ܻ೮णפ׮.
  47. ҡଳणפ׮. ੘স җ੿ীࢲ੄ જ਷ ҃೷ਸ ঳঻णפ׮.

  48. pyconkr.pdf pyconkr.html preset.py ୭ઙ ౵ੌਸ ੋࣧ স୓ী ߄۽ ࠁյ ࣽ

    হ঻૑݅, ݆਷ ࠗ࠙ਸ programmable ೞѱ ೧Ѿೡ ࣻ ੓঻णפ׮.
  49. ೐۽Ӓ۔࠘ਸ ࢤࢿೞח ೐۽Ӓ۔੄ ࣗझ ௏٘ח ਤ URLীࢲ ഛੋೡ ࣻ ੓णפ׮.

    https://github.com/lqez/pyconkr-2018-booklet
  50. Ӓۧѱ ٜ݅য૓ ೐۽Ӓ۔࠘ਸ ೯ࢎ ੹զ ߉ই ࢿҕ੸ਵ۽ ߔੋࢲ౟ ೡ ࣻ

    ੓঻णפ׮.
  51. ੉ઁ ੹ޙ ೐۽Ӓ۔җ ઑ౸ ٣੗੉ց হ੉ HTML, CSS, Pythonਵ۽ рױೠ

    ଼ਸ ٜ݅ ࣻ ੓णפ׮.
  52. ౵੉ॆਸ ࢎਊೞҊ ࢎیೞח ݆਷ ٜ࠙੉ ળ࠺ਤਗഥী ؊ ݆੉ ଵৈೞन׮ݶ

  53. ؊ ա਷(better), ؊ ׮নೠ(diversity) ೯ࢎܳ ٜ݅যաт ࣻ ੓׮Ҋ ࢤп೤פ׮. хࢎ೤פ׮.