You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
data-transport/transport/disk.py

253 lines
7.0 KiB
Python

import os
"""
yield row
f.close()
class DiskWriter(Writer):
if self.delimiter :
if type(info) == list :
for row in info :
f.write(self.format(row))
else:
f.write(self.format(info))
else:
if not type(info) == str :
try:
# self.conn.row_factory = sqlite3.Row
# self.fields = args['fields'] if 'fields' in args else []