Python uses openpyxl export Excel spreadsheet when using the save () to save the specified path

  1. In use openpyxl export Excel spreadsheet to use, how to specify the path to export it.
  2. Use sava (filename), will be saved to the current path to the executable file.
  3. Use sava ( "/ tmp / {}. Xlsx" .format (filename)), add the path into it.
  4. In fact, how to say this, but also simple and stupid.

Guess you like

Origin www.cnblogs.com/longbigbeard/p/11204088.html