SyntaxFix
Write A Post
Hire A Developer
Questions
Um, why not just:
>>>> import os >>>> os.path.join(dir_name, base_filename + "." + format) '/home/me/dev/my_reports/daily_report.pdf'