python - Replace characters without opening Excel file -
i have large excel file (450mb+). need replace (,) -> (; or .) 1 of fastload scripts work. not able open file @ all. script involve opening file, performing operation, saving , closing file, in order.
will vb script work here 450mb+ file, wherein file not opening only.
- is there vb script , shell script, python, java etc can write perform replacement(operation) without opening excel file?
- or alternatively, there way of opening excel file big , performing operation.
if have access linux environment (which might since mention shell script 1 of options) use sed
in terminal or putty:
sed -i .bak 's/,/;/g' yourfile.excel
sed streams text without loading entire file @ once.
-i
make changes original file providing .bak
create copy named yourfile.excel.bak
first
Comments
Post a Comment