With GroupDocs.Viewer you can render PY to HTML, JPEG, PNG or PDF in a few steps.
- Install GroupDocs.Viewer for .NET using your favorite package manager.
- Create an instance of Viewer class and load the PY file with full path.
- Set options to render PY file into HTML, PNG, JPEG or PDF format.
- Render file and check output in the current directory.