13 lines
406 B
Python
13 lines
406 B
Python
|
|
import os
|
||
|
|
|
||
|
|
|
||
|
|
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
||
|
|
template_dir = os.path.join(BASE_DIR, 'input')
|
||
|
|
|
||
|
|
output_dir = os.path.join(BASE_DIR, 'output')
|
||
|
|
os.makedirs(output_dir, exist_ok=True)
|
||
|
|
output_html_path = os.path.join(output_dir, 'generated_report.html')
|
||
|
|
output_pdf_path = os.path.join(output_dir, 'generated_report.pdf')
|
||
|
|
|
||
|
|
|
||
|
|
report_html_path = os.path.join(template_dir, 'report_template.html')
|