Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
NOL技術學習-PythonII
MarsW
August 12, 2014
Technology
0
39
NOL技術學習-PythonII
MarsW
August 12, 2014
Tweet
Share
More Decks by MarsW
See All by MarsW
marsw
0
200
marsw
0
80
marsw
0
63
marsw
0
56
marsw
0
27
marsw
0
61
marsw
0
250
marsw
1
640
marsw
0
40
Other Decks in Technology
See All in Technology
satotakeshi
2
410
tzkoba
0
380
humank
0
210
kentaro
1
330
clustervr
0
160
line_developers
PRO
0
140
kaga
0
190
tdys13
4
3.4k
kyonmm
1
1.9k
soracom
0
250
clustervr
0
190
line_developers
PRO
3
470
Featured
See All Featured
jacobian
255
20k
colly
66
3k
chrislema
231
16k
malarkey
393
60k
iamctodd
17
1.8k
morganepeng
17
1.1k
pauljervisheath
196
15k
erikaheidi
13
4.2k
dotmariusz
94
5.1k
swwweet
206
6.8k
philnash
8
490
myddelton
109
11k
Transcript
NOL 技術學習-II Mars
CH3-LIST,DICT,SET • list = [] ✴ sum • dict =
{} ✴ add ✴ del ✴ key,value ✴ get
CH3-LIST,DICT,SET • set() • set.add • in • &|^-
CH4-FUNCTION & CLASS • lambda • function • class
CH5-SORT • list.sort(key,reverse) • sorted(,key,reverse) • reverse=True,False • key=function ✴
attrgetter
CH6-I/O • I/O • write • # encoding: utf-8
PRACTICE • Python Challenge again xD http://www.pythonchallenge.com/pc/def/ocr.html http://wordsmith.org/anagram/
FUTURE • 網路爬蟲 • 正規式 • Unix語法