Convert Python (.py) scripts and source code files to a PDF document. Useful for code reviews, sharing code with non-developers, or printing for offline study.
How it works
Upload your .py file.
Click Convert to PDF.
Download the PDF.
Tips for best results
Python indentation is critical - it is preserved exactly in the PDF.
Include a file header comment with the script name and purpose for cleaner documentation.
Frequently asked questions
Are docstrings included?
Yes - all comments and docstrings in the Python file are included in the PDF output.
You appear to be offline. Check your internet connection, then try again.