You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-p SHEETDELIMITER, --sheetdelimiter SHEETDELIMITER
sheet delimiter used to separate sheets,
pass '' if you do not need delimiter, or
'x07' or '\f' for form feed (default: '--------')
but '\f' is '\x0c' not '\x07' and the argument is passed to python chr(int(sheetdelimiter[1:])) which converts it to '\a' not '\f'.
Either the sheet delimiter would have to be passed as 'x12' which gives '\f', but just looks so wrong, or change the code to specify the base as hex chr(int(sheetdelimiter[1:],16)) if the prefix is 'x', so then 'x0c' can be passed, and the documentation updated to match. Other approaches might also be reasonable.
The text was updated successfully, but these errors were encountered:
xlsx2csv --help
shows:but
'\f'
is'\x0c'
not'\x07'
and the argument is passed to pythonchr(int(sheetdelimiter[1:]))
which converts it to'\a'
not'\f'
.Either the sheet delimiter would have to be passed as
'x12'
which gives'\f'
, but just looks so wrong, or change the code to specify the base as hexchr(int(sheetdelimiter[1:],16))
if the prefix is'x'
, so then'x0c'
can be passed, and the documentation updated to match. Other approaches might also be reasonable.The text was updated successfully, but these errors were encountered: