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

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -