Search code examples
pythonsyntaxpycharmexport

Is there an option to save Python files to images with Pycharm?


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?


Solution

  • Not in pycharm but in Virsual Studio Code, there is and extension called CodeSnap, maybe just open your project from vscode then take clean screenshots of your code from there.