Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
102 views
in Technique[技术] by (71.8m points)

python - How to write cell content to PDF in Google Colab?

I would like to have a cell's content written out to a pdf file in Google Colab.

I know how to use %%writefile magic command to write contents to a txt file:

%%writefile file.txt
contents of my txt file

I know how to convert the whole notebook to pdf.

I would like to have some solution similar to:

%%writemypdf file.pdf
lines in my pdf

Is this possible?

question from:https://stackoverflow.com/questions/66061161/how-to-write-cell-content-to-pdf-in-google-colab

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...