Skip to content

Commit d512834

Browse files
committed
fixed readme
1 parent c3f0ab9 commit d512834

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

README.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ Usage
1818
| Plain text file example:
1919
2020
::
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
2425

2526
| Csv example:
2627
2728
::
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]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
long_description = f.read()
1111

1212
setup(
13-
name='randomAccessReader',
13+
name='random-access-file-reader',
1414

1515
# Versions should comply with PEP440. For a discussion on single-sourcing
1616
# the version across setup.py and the project code, see

0 commit comments

Comments
 (0)