Skip to content

Commit cb3fd44

Browse files
wklkenwklken
wklken
authored and
wklken
committed
update readme
1 parent 0c181ec commit cb3fd44

File tree

1 file changed

+120
-30
lines changed

1 file changed

+120
-30
lines changed

README.md

+120-30
Original file line numberDiff line numberDiff line change
@@ -20,153 +20,243 @@ stackoverflow上Python相关回答整理翻译
2020
### 目录
2121
> 基础
2222
23-
* 控制流
24-
-rw-r--r-- 1 ken staff 5425 Sep 21 11:48 qa-control-flow.md
25-
* 字符串
26-
-rw-r--r-- 1 ken staff 7987 Sep 21 11:06 qa-string.md
27-
* 文件
28-
-rw-r--r-- 1 ken staff 6385 Sep 21 11:09 qa-file.md
29-
* 数学相关
30-
-rw-r--r-- 1 ken staff 1310 Sep 21 11:48 qa-math.md
23+
* [控制流]https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-control-flow.md)
24+
* [字符串]https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-string.md)
25+
* [文件]https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-file.md)
26+
* [数学相关]https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-math.md)
3127

3228

3329
> 基本数据结构
3430
35-
* 列表
36-
-rw-r--r-- 1 ken staff 8035 Sep 21 11:06 qa-list.md
37-
* 元组
38-
-rw-r--r-- 1 ken staff 0 Sep 15 17:13 qa-tuple.md
39-
* 字典
40-
-rw-r--r-- 1 ken staff 4480 Sep 15 17:36 qa-dict.md
31+
* [列表](https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-list.md)
32+
* [元组](https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-tuple.md)
33+
* [字典](https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-dict.md)
4134

4235
> 进阶
4336
44-
* 函数
45-
-rw-r--r-- 1 ken staff 1849 Sep 21 11:43 qa-func.md
46-
* 内置函数
47-
-rw-r--r-- 1 ken staff 3091 Sep 21 11:48 qa-built-in.md
48-
* 异常
49-
-rw-r--r-- 1 ken staff 3485 Sep 21 11:43 qa-exception.md
50-
* 模块
51-
-rw-r--r-- 1 ken staff 4368 Sep 21 11:48 qa-std-modules.md
52-
-rw-r--r-- 1 ken staff 660 Sep 21 11:13 qa-modules.md
53-
-rw-r--r-- 1 ken staff 1030 Sep 21 11:48 qa-datetime.md
37+
* [函数](https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-func.md)
38+
* [内置函数](https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-built-in.md)
39+
* [异常](https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-exception.md)
40+
* 模块
41+
[模块](https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-modules.md)
42+
[标准库](https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-std-modules.md)
43+
[日期](https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-datetime.md)
5444

55-
* oop
56-
-rw-r--r-- 1 ken staff 9772 Sep 21 11:13 qa-oop.md
45+
* [oop](https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-oop.md)
5746

5847
> 其他
5948
60-
* pip/easy_install
61-
-rw-r--r-- 1 ken staff 1729 Sep 15 17:36 qa-pip-easy_install.md
49+
* [pip/easy_install](https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-pip-easy_install.md)
6250

63-
* 其他
64-
-rw-r--r-- 1 ken staff 3156 Sep 21 11:48 qa-others.md
51+
* [其他](https://github.com/wklken/stackoverflow-py-top-qa/blob/master/contents/qa-others.md)
6552

6653

6754
### 已翻译问题链接(去重)
55+
6856
qa-built-in.md:问题 - http://stackoverflow.com/questions/230751/how-to-flush-output-of-python-print
57+
6958
qa-built-in.md:重复问题 - http://stackoverflow.com/questions/107705/python-output-buffering
59+
7060
qa-built-in.md:问题 - http://stackoverflow.com/questions/1835018/python-check-if-an-object-is-a-list-or-tuple-but-not-string
61+
7162
qa-built-in.md:问题 - http://stackoverflow.com/questions/152580/whats-the-canonical-way-to-check-for-type-in-python
63+
7264
qa-built-in.md:问题 - http://stackoverflow.com/questions/402504/how-to-determine-the-variable-type-in-python
65+
7366
qa-built-in.md:另外一个相同的问题 - http://stackoverflow.com/questions/2225038/python-determine-the-type-of-an-object
67+
7468
qa-control-flow.md:问题 - http://stackoverflow.com/questions/73663/terminating-a-python-script
69+
7570
qa-control-flow.md:问题 - http://stackoverflow.com/questions/26595/is-there-any-difference-between-foo-is-none-and-foo-none
71+
7672
qa-control-flow.md:问题 - http://stackoverflow.com/questions/522563/accessing-the-index-in-python-for-loops
73+
7774
qa-control-flow.md:问题 - http://stackoverflow.com/questions/53162/how-can-i-do-a-line-break-line-continuation-in-python
75+
7876
qa-control-flow.md:问题 - http://stackoverflow.com/questions/9284350/why-does-1-in-1-0-true-evaluate-to-false
77+
7978
qa-control-flow.md:问题 - http://stackoverflow.com/questions/60208/replacements-for-switch-statement-in-python
79+
8080
qa-control-flow.md:问题 - http://stackoverflow.com/questions/2710940/python-if-x-is-not-none-or-if-not-x-is-none
81+
8182
qa-control-flow.md:问题 - http://stackoverflow.com/questions/423379/using-global-variables-in-a-function-other-than-the-one-that-created-them
83+
8284
qa-datetime.md:问题 - http://stackoverflow.com/questions/1697815/how-do-you-convert-a-python-time-struct-time-object-into-a-datetime-object
85+
8386
qa-datetime.md:问题 - http://stackoverflow.com/questions/415511/how-to-get-current-time-in-python
87+
8488
qa-dict.md:问题 - http://stackoverflow.com/questions/1747817/python-create-a-dictionary-with-list-comprehension
89+
8590
qa-dict.md:问题 - http://stackoverflow.com/questions/1323410/has-key-or-in
91+
8692
qa-dict.md:问题 - http://stackoverflow.com/questions/1602934/check-if-a-given-key-already-exists-in-a-dictionary
93+
8794
qa-dict.md:问题 - http://stackoverflow.com/questions/1024847/add-to-a-dictionary-in-python
95+
8896
qa-dict.md:问题 - http://stackoverflow.com/questions/1305532/convert-python-dict-to-object
97+
8998
qa-dict.md:问题 - http://stackoverflow.com/questions/38987/how-can-i-merge-union-two-python-dictionaries-in-a-single-expression
99+
90100
qa-dict.md:问题 - http://stackoverflow.com/questions/209840/map-two-lists-into-a-dictionary-in-python
101+
91102
qa-dict.md:问题 - http://stackoverflow.com/questions/72899/in-python-how-do-i-sort-a-list-of-dictionaries-by-values-of-the-dictionary
103+
92104
qa-exception.md:问题 - http://stackoverflow.com/questions/1319615/proper-way-to-declare-custom-exceptions-in-modern-python
105+
93106
qa-exception.md:问题 - http://stackoverflow.com/questions/2052390/how-do-i-manually-throw-raise-an-exception-in-python
107+
94108
qa-exception.md:问题 - http://stackoverflow.com/questions/6470428/catch-multiple-exceptions-in-one-line-except-block
109+
95110
qa-exception.md:问题 - http://stackoverflow.com/questions/944592/best-practice-for-python-assert
111+
96112
qa-file.md:问题 - http://stackoverflow.com/questions/273192/python-best-way-to-create-directory-if-it-doesnt-exist-for-file-write
113+
97114
qa-file.md:问题 - http://stackoverflow.com/questions/123198/how-do-i-copy-a-file-in-python
115+
98116
qa-file.md:问题 - http://stackoverflow.com/questions/275018/how-can-i-remove-chomp-a-newline-in-python
117+
99118
qa-file.md:类似问题 - http://stackoverflow.com/questions/761804/trimming-a-string-in-python
119+
100120
qa-file.md:问题 - http://stackoverflow.com/questions/237079/how-to-get-file-creation-modification-date-times-in-python
121+
101122
qa-file.md:问题 - http://stackoverflow.com/questions/466345/converting-string-into-datetime
123+
102124
qa-file.md:问题 - http://stackoverflow.com/questions/5137497/find-current-directory-and-files-directory
125+
103126
qa-file.md:问题 - http://stackoverflow.com/questions/3964681/find-all-files-in-directory-with-extension-txt-with-python
127+
104128
qa-file.md:问题 - http://stackoverflow.com/questions/3277503/python-read-file-line-by-line-into-array
129+
105130
qa-file.md:问题 - http://stackoverflow.com/questions/4706499/how-do-you-append-to-file-in-python
131+
106132
qa-file.md:问题 - http://stackoverflow.com/questions/541390/extracting-extension-from-filename-in-python
133+
107134
qa-file.md:问题 - http://stackoverflow.com/questions/3207219/how-to-list-all-files-of-a-directory-in-python
135+
108136
qa-file.md:重复问题 - http://stackoverflow.com/questions/120656/directory-listing-in-python
137+
109138
qa-file.md:问题 - http://stackoverflow.com/questions/1450393/how-do-you-read-from-stdin-in-python
139+
110140
qa-func.md:问题 - http://stackoverflow.com/questions/251464/how-to-get-the-function-name-as-string-in-python
141+
111142
qa-func.md:问题 - http://stackoverflow.com/questions/3061/calling-a-function-from-a-string-with-the-functions-name-in-python
143+
112144
qa-func.md:问题 - http://stackoverflow.com/questions/36901/what-does-double-star-and-star-do-for-python-parameters
145+
113146
qa-list.md:问题 - http://stackoverflow.com/questions/509211/the-python-slice-notation
147+
114148
qa-list.md:问题 - http://stackoverflow.com/questions/53513/python-what-is-the-best-way-to-check-if-a-list-is-empty
149+
115150
qa-list.md:问题 - http://stackoverflow.com/questions/1720421/merge-two-lists-in-python
151+
116152
qa-list.md:问题 - http://stackoverflow.com/questions/518021/getting-the-length-of-an-array-in-python
153+
117154
qa-list.md:问题 - http://stackoverflow.com/questions/2612802/how-to-clone-a-list-in-python
155+
118156
qa-list.md:问题 - http://stackoverflow.com/questions/252703/python-append-vs-extend
157+
119158
qa-list.md:问题 - http://stackoverflow.com/questions/306400/how-do-i-randomly-select-an-item-from-a-list-using-python
159+
120160
qa-list.md:问题 - http://stackoverflow.com/questions/627435/how-to-remove-an-element-from-a-list-by-index-in-python
161+
121162
qa-list.md:问题 - http://stackoverflow.com/questions/930397/how-to-get-the-last-element-of-a-list
163+
122164
qa-list.md:问题 - http://stackoverflow.com/questions/312443/how-do-you-split-a-list-into-evenly-sized-chunks-in-python
165+
123166
qa-list.md:问题 - http://stackoverflow.com/questions/480214/how-do-you-remove-duplicates-from-a-list-in-python-whilst-preserving-order
167+
124168
qa-list.md:问题 - http://stackoverflow.com/questions/1207406/remove-items-from-a-list-while-iterating-in-python
169+
125170
qa-list.md:问题 - http://stackoverflow.com/questions/176918/in-python-how-do-i-find-the-index-of-an-item-given-a-list-containing-it
171+
126172
qa-list.md:问题 - http://stackoverflow.com/questions/952914/making-a-flat-list-out-of-list-of-lists-in-python
173+
127174
qa-math.md:问题 - http://stackoverflow.com/questions/1476/how-do-you-express-binary-literals-in-python
175+
128176
qa-math.md:问题 - http://stackoverflow.com/questions/209513/convert-hex-string-to-int-in-python
177+
129178
qa-math.md:问题 - http://stackoverflow.com/questions/1267869/how-can-i-force-division-to-be-floating-point-in-python
179+
130180
qa-modules.md:问题 - http://stackoverflow.com/questions/448271/what-is-init-py-for
181+
131182
qa-modules.md:问题 - http://stackoverflow.com/questions/67631/how-to-import-a-module-given-the-full-path
183+
132184
qa-oop.md:问题 - http://stackoverflow.com/questions/2709821/python-self-explained
185+
133186
qa-oop.md:问题 - http://stackoverflow.com/questions/70528/why-are-pythons-private-methods-not-actually-private
187+
134188
qa-oop.md:问题 - http://stackoverflow.com/questions/38238/what-are-class-methods-in-python-for
189+
135190
qa-oop.md:问题 - http://stackoverflow.com/questions/674304/pythons-use-of-new-and-init
191+
136192
qa-oop.md:来自 - http://mail.python.org/pipermail/tutor/2008-April/061426.html
193+
137194
qa-oop.md:问题 - http://stackoverflow.com/questions/510972/getting-the-class-name-of-an-instance-in-python
195+
138196
qa-oop.md:问题 - http://stackoverflow.com/questions/136097/what-is-the-difference-between-staticmethod-and-classmethod-in-python
197+
139198
qa-oop.md:问题 - http://stackoverflow.com/questions/735975/static-methods-in-python
199+
140200
qa-oop.md:问题 - http://stackoverflow.com/questions/68645/static-class-variables-in-python
201+
141202
qa-oop.md:问题 - http://stackoverflow.com/questions/610883/how-to-know-if-an-object-has-an-attribute-in-python
203+
142204
qa-oop.md:问题 - http://stackoverflow.com/questions/31875/is-there-a-simple-elegant-way-to-define-singletons-in-python
205+
143206
qa-others.md:问题 - http://stackoverflow.com/questions/170921/should-i-learn-python-2-before-3-or-start-directly-from-python-3
207+
144208
qa-others.md:问题 - http://stackoverflow.com/questions/1534210/use-different-python-version-with-virtualenv
209+
145210
qa-others.md:问题 - http://stackoverflow.com/questions/990754/how-to-leave-a-python-virtualenv
211+
146212
qa-others.md:问题 - http://stackoverflow.com/questions/193161/what-is-the-best-project-structure-for-a-python-application
213+
147214
qa-others.md:问题 - http://stackoverflow.com/questions/13311094/counter-in-collections-module-python
215+
148216
qa-pip-easy_install.md:问题 - http://stackoverflow.com/questions/2720014/upgrading-all-packages-with-pip
217+
149218
qa-pip-easy_install.md:问题 - http://stackoverflow.com/questions/1231688/how-do-i-remove-packages-installed-with-pythons-easy-install
219+
150220
qa-pip-easy_install.md:问题 - http://stackoverflow.com/questions/122327/how-do-i-find-the-location-of-my-python-site-packages-directory
221+
151222
qa-pip-easy_install.md:问题 - http://stackoverflow.com/questions/1550226/python-setup-py-uninstall
223+
152224
qa-pip-easy_install.md:问题 - http://stackoverflow.com/questions/739993/get-a-list-of-installed-python-modules
225+
153226
qa-std-modules.md:问题 - http://stackoverflow.com/questions/712791/json-and-simplejson-module-differences-in-python
227+
154228
qa-std-modules.md:问题 - http://stackoverflow.com/questions/22676/how-do-i-download-a-file-over-http-using-python
229+
155230
qa-std-modules.md:问题 - http://stackoverflow.com/questions/4480075/argparse-optional-positional-arguments
231+
156232
qa-std-modules.md:问题 - http://stackoverflow.com/questions/842059/is-there-a-portable-way-to-get-the-current-username-in-python
233+
157234
qa-std-modules.md:问题 - http://stackoverflow.com/questions/1912434/how-do-i-parse-xml-in-python
235+
158236
qa-string.md:问题 - http://stackoverflow.com/questions/493819/python-join-why-is-it-string-joinlist-instead-of-list-joinstring
237+
159238
qa-string.md:问题 - http://stackoverflow.com/questions/6797984/how-to-convert-string-to-lowercase-in-python
239+
160240
qa-string.md:问题 - http://stackoverflow.com/questions/931092/reverse-a-string-in-python
241+
161242
qa-string.md:问题 - http://stackoverflow.com/questions/3437059/does-python-have-a-string-contains-method
243+
162244
qa-string.md:问题 - http://stackoverflow.com/questions/354038/how-do-i-check-if-a-string-is-a-number-in-python
245+
163246
qa-string.md:问题 - http://stackoverflow.com/questions/5082452/python-string-formatting-vs-format
247+
164248
qa-string.md:问题 - http://stackoverflow.com/questions/988228/converting-a-string-to-dictionary
249+
165250
qa-string.md:问题 - http://stackoverflow.com/questions/227459/ascii-value-of-a-character-in-python
251+
166252
qa-string.md:问题 - http://stackoverflow.com/questions/1059559/python-strings-split-with-multiple-separators
253+
167254
qa-string.md:问题 - http://stackoverflow.com/questions/1185524/how-to-trim-whitespace-including-tabs
255+
168256
qa-string.md:问题 - http://stackoverflow.com/questions/663171/is-there-a-way-to-substring-a-string-in-python
257+
169258
qa-string.md:问题 - http://stackoverflow.com/questions/1504717/python-vs-is-comparing-strings-is-fails-sometimes-why
259+
170260
qa-string.md:问题 - http://stackoverflow.com/questions/339007/python-nicest-way-to-pad-zeroes-to-string
171261

172262

0 commit comments

Comments
 (0)