Transcription of 저자: Charles Severance 번역 이광춘 (xwMOOC)
1 Version : Charles Severance : (xwMOOC)Copyright 2009- Charles Severance . 2014- : (xwMOOC) :2014 12 : , , , 2014 9 :xwmooc 2013 10 :JSON , OAuth . 13 , 14 , .2013 9 :Amazon CreateSpace 2010 1 : Espresso Book Machine 2009 12 :Think Python: How to Think Like a Computer Scientist 2 ~10 Python for Informatics: Exploring Information 1 , 11 ~15 2008 6 :Think Python: How to Think Like a Computer Scientist , .2007 8 :How to Think Like a (Python) Programmer , .2002 4 :How to Think Like a Computer Scientist (Creative Commons Attribution-NonCommercial-Share Alike ).
2 , . Think Python: How to Think Like a Computer Scientist LATEX . ("Software is eating the world") 2011 , (TheoreticalThinking), (Experimental Thinking)) (Compu-tational Thinking) . (Digital Divide) . 14 7.
3 , , . Python for Informatics . (xwMOOC) 2014 12 iv 0 . : (publish or perish) . Allen B. Downey, Jeff Elkner Think Python:How to Think Like a Computer Scientist (re-mixing) .2009 12 , 5 SI502 - Networked Program-ming , . SI502.
4 3 , Atul Prakash Think Python .. , .2-10 Think Python ..try,vi 0 . except .. 4 . (recursion) 1 .1 , 11-16 . , , , , , XML JSON , SQL(Structured Query Language) . (informatics) , . Allen B. Downey ThinkPython.
5 ,Think Python . , , Think Python .Think Python , Allen GNU , (CC-BY-SA) . GFDL CC-BY-SA( , ) . CC-BY-SA , . , Allen B. Downey Cambridge University Press . , . Allen B. Downey Lauren Cowles . Charles Severance1 . Arbor, MI, USA2013 9 9 Charles Severance .
6 Viii 0 . iii v 1 ?1 1 .. 2 2 .. 3 3 .. 4 4 .. 5 5 .. 6 6 : .. 8 7 .. 10 8 ? .. 11 9 .. 12 10 ? .. 13 11 .. 14 12 .. 15 13 .. 16x 2 , , (Statement)19 1 (Value) (Type) .. 19 2 (Variable) .. 20 3 (Variable name) (keywords) .. 21 4 (Statement) .. 21 5 (Operator) (Operands) .. 22 6 (Expression) .. 23 7 (Order of Operations) .. 23 8 (Modulus Operator) .. 24 9 (String Operator) .. 24 10 .. 24 11 .. 25 12.
7 26 13 (Debugging) .. 28 14 .. 28 15 .. 29 3 31 1 (Boolean expressions) .. 31 2 .. 32 3 .. 32 4 .. 33 5 .. 34 6 .. 35 7 try catch .. 36 xi 8 (Short circuit) .. 37 9 (Debugging) .. 38 10 .. 39 11 .. 40 4 43 1 .. 43 2 (Built-in) .. 43 3 (type) .. 44 4 (Random numbers) .. 44 5 .. 46 6 .. 47 7 .. 48 8 .. 49 9 (parameter) (argument) .. 49 10 (fruitful function) (void function) .. 50 11 ? .. 51 12 .. 52 13 .. 52 14 .. 53 5 (Iteration)57 1 .. 57 2 while.
8 57 3 .. 58 4 break.. 58xii 5 continue .. 60 6 for .. 60 7 .. 61 8 .. 64 9 .. 64 10 .. 65 6 67 1 (sequence) .. 67 2 len .. 68 3 .. 68 4 (slice) .. 69 5 .. 69 6 (looping) (counting) .. 70 7 in .. 70 8 .. 70 9 string .. 71 10 (Parsing) .. 73 11 .. 74 12 .. 75 13 .. 76 14 .. 76 xiii 7 79 1 (Persistence) .. 79 2 .. 80 3 .. 80 4 .. 81 5 .. 83 6 .. 84 7 try, except, open .. 85 8 .. 87 9 .. 87 10 .. 88 11.
9 88 8 (List)91 1 (sequence) .. 91 2 .. 91 3 .. 92 4 .. 93 5 (List slices) .. 93 6 .. 94 7 .. 94 8 .. 95 9 .. 96 10 (Parsing) .. 97 11 (value) .. 98xiv 12 (Aliasing) .. 99 13 .. 100 14 .. 101 15 .. 104 16 .. 105 9 (Dictionaries)107 1 (counter) .. 109 2 .. 110 3 .. 111 4 .. 112 5 .. 114 6 .. 115 7 .. 115 10 (Tuples)117 1 .. 117 2 .. 118 3 (Tuple Assignment) .. 119 4 .. 121 5 .. 121 6 .. 122 7 .. 123 8 (sequence).
10 124 9 .. 124 10 .. 126 11 .. 126 xv 11 129 1 .. 130 2 .. 131 3 .. 133 4 (Escape) .. 136 5 .. 136 6 .. 138 7 .. 138 8 .. 139 9 .. 140 12 141 1 (HyperText Transport Protocol- HTTP) .. 141 2 (Web Browser) .. 142 3 HTTP .. 143 4 urllib .. 145 5 HTML .. 146 6 HTML .. 146 7 BeautifulSoup HTML .. 148 8 urllib .. 149 9 .. 150 10 .. 151xvi 13 153 1 XML(eXtensible Markup Language) .. 153 2 XML .. 154 3 .. 154 4 JSON(JavaScript Object Notation).