Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07861a0 commit 2fb0450Copy full SHA for 2fb0450
irrelevant/parse_readme.py
@@ -2,14 +2,20 @@
2
3
"""
4
This inefficient module would parse the README.md in the initial version of
5
-WTFPython, and enabl me to categorize and reorder a hell lot of examples with
+WTFPython, and enable me to categorize and reorder a hell lot of examples with
6
the help of the file `add_categories` (part of which is automatically
7
generated).
8
9
After the refactor, this module would not work now with necessary updates in
10
the code.
11
12
13
+try:
14
+ raw_input # Python 2
15
+except NameError:
16
+ raw_input = input # Python 3
17
+
18
19
fname = "README.md"
20
snippets = []
21
0 commit comments