# Create a PDF with ~1000 characters of text using reportlab.
platypus
from [Link] import SimpleDocTemplate, Paragraph
from [Link] import getSampleStyleSheet
text = (
"The city never truly slept. Even at midnight, faint footsteps echoed through
narrow alleys, "
"and dim streetlights flickered like they were hiding secrets of their own. He
stood there, "
"hands in his coat pockets, watching the fog roll in slowly. Every breath felt
heavier, as if "
"the air itself carried forgotten memories. Somewhere far away, a clock struck
twelve, each "
"sound sharp and final. He knew this moment mattered. Not because something
dramatic would "
"happen instantly, but because small choices shape the future in silent ways. A
letter rested "
"in his pocket, unopened, its edges worn from being touched too often. It
contained answers, "
"or maybe more questions. Still, he walked forward, accepting uncertainty. Fear
existed, yes, "
"but so did curiosity. And sometimes, curiosity was stronger than fear."
)
file_path = "/mnt/data/1000_char_text.pdf"
doc = SimpleDocTemplate(file_path)
styles = getSampleStyleSheet()
story = [Paragraph(text, styles["Normal"])]
[Link](story)
file_path