This is a simple code that transforms multiple .png files into a single .pdf file.
In order to use this code, you'll need to run this code via the following command:
python png_to_pdf.py 'C:/Users/<Your_Username>/Desktop/Image_Folder' 'C:/Users/<Your_Username>/Desktop/merged.pdf'
Note that you HAVE TO specify the path using single forward slash OR double backslashes in order to prevent errors.