Printing the editor and console window together in Pycharm

Hello,

I am teaching (and still learning) Python3 and have been using PyCharm for the editor my students use to do their Python projects in. One of the things I enjoy is that unlike some editors, my students cannot simply edit the output to whatever it was *supposed to be*. For the sake of time in grading, I have them print out their projects. So far I have been having them export the editor text and the console text separately to pdf and then print the pdf.  

I would rather, instead of printing two different sheets (editor window and console) have them be able to print both windows at once. I know I could have them copy/paste into a document but that would negate them not being able to alter the output. Is there a way to print both windows at once?

 

 

as a side question as well, I have found how to show the number of whitespace characters in the editor but is there a way to also show them in the output as well so I can see how many spaces or tabs they used?

0

请先登录再写评论。