File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,16 @@ Usage
18
18
| Plain text file example:
19
19
20
20
::
21
- reader = RandomAccessReader('~/myfile.txt')
22
- line = reader.get_line(2)
23
- print line
21
+
22
+ reader = RandomAccessReader('~/myfile.txt')
23
+ line = reader.get_line(2)
24
+ print line
24
25
25
26
| Csv example:
26
27
27
28
::
28
- reader = CsvRandomAccessReader('~/myfile.csv')
29
- line = reader.get_line_dict(5)
30
- for x in line:
31
- print x + " = " line[x]
29
+
30
+ reader = CsvRandomAccessReader('~/myfile.csv')
31
+ line = reader.get_line_dict(5)
32
+ for x in line:
33
+ print x + " = " line[x]
Original file line number Diff line number Diff line change 10
10
long_description = f .read ()
11
11
12
12
setup (
13
- name = 'randomAccessReader ' ,
13
+ name = 'random-access-file-reader ' ,
14
14
15
15
# Versions should comply with PEP440. For a discussion on single-sourcing
16
16
# the version across setup.py and the project code, see
You can’t perform that action at this time.
0 commit comments