def saveToClipboard(sheet, rows, filetype=None):
    'copy rows from sheet to system clipboard'
    filetype = filetype or options.save_filetype
    vs = copy(sheet)
    vs.rows = rows
    status('copying rows to clipboard')
    clipboard().save(vs, filetype)
def saveToClipboard ( sheet , rows , filetype = None ) : filetype = filetype or options . save_filetype vs = copy ( sheet ) vs . rows = rows status ( 'copying rows to clipboard' ) clipboard ( ) . save ( vs , filetype )
copy rows from sheet to system clipboard