mirror of
https://github.com/Eledio/superfaktura-client.git
synced 2025-11-01 00:18:25 +01:00
15 lines
334 B
Python
15 lines
334 B
Python
"""
|
|
This module contains tools for working with these examples.
|
|
"""
|
|
|
|
|
|
def save_file_as_pdf(input_data: bytes, output_path: str = "output.pdf") -> None:
|
|
"""
|
|
Save the input data as a PDF file.
|
|
:param input_data:
|
|
:param output_path:
|
|
:return:
|
|
"""
|
|
with open(output_path, "wb") as f:
|
|
f.write(input_data)
|