I have a project I finished, and one requirement is adding all of the code to a Word Document, doing it manually will take hours since I have multiple Python files, each with at least 200 lines.

Is there a way to export them (with the syntax highlighting) to images so I can do it quickly, and be able to add them to the Word Document?