🔵 🔵 🔵


Primary

၊၊||၊|။

Xset.openLog() ⚬|docu|1st|20251021210023-00-⌔

XspecSettings — PyXspec 2.1.5 documentation#xspec.XspecSettings.openLog

openLog(fileName)

Open a file and set it to be XSPEC’s log file.

Args:

fileName: The name of the log file.

If Xspec already has an open log file, it will close it. Returns a Python file object for the new log file.

Once opened, the log file object is also stored as the Xset.log attribute.

Note: To ensure proper cleanup and file flushing, it is recommended that you call Xset.closeLog() before exiting PyXspec.

Printed 2026-06-28.

(echo:: @ )

Link to original

Secondary

• • •