Glen
Glen

Reputation: 57

Is there a way to print a py file in color?

using 2.5.4 on windows 7 is there a simple way to print py files in color (as they appear on the screen) AND select a desired font?

thanks Glen

Upvotes: 2

Views: 116

Answers (1)

user764357
user764357

Reputation:

If you are using IDLE, the default IDE that comes with Python for Windows you should be able to print your Python script with syntax highlighting from there.

If you are looking for a script that takes a python file and then prints it with syntax highlighting, you'd need to provide more information as to what you are trying to achieve.

Upvotes: 1

Related Questions