Append a line to the suffix of the script Args: line (str): The line to append.
(self, line)
| 368 | self.preimport.append(line) |
| 369 | |
| 370 | def append_suffix(self, line): |
| 371 | """ |
| 372 | Append a line to the suffix of the script |
| 373 | |
| 374 | Args: |
| 375 | line (str): The line to append. |
| 376 | """ |
| 377 | line = ensure_safe(line).unwrap() |
| 378 | self.suffix.append(line) |
| 379 | |
| 380 | def __str__(self): |
| 381 | script = "#!/usr/bin/env python3\n" |