Provides IPython Notebook-friendly output for the feedback after a ``.csv`` called.
| 63 | self.writerow(row) |
| 64 | |
| 65 | class CsvResultDescriptor(object): |
| 66 | """Provides IPython Notebook-friendly output for the feedback after a ``.csv`` called.""" |
| 67 | def __init__(self, file_path): |
| 68 | self.file_path = file_path |
| 69 | def __repr__(self): |
| 70 | return 'CSV results at %s' % os.path.join(os.path.abspath('.'), self.file_path) |
| 71 | def _repr_html_(self): |
| 72 | return '<a href="%s">CSV results</a>' % os.path.join('.', 'files', self.file_path) |
| 73 | |
| 74 | |
| 75 | def _nonbreaking_spaces(match_obj): |