Just trying to change the formatting of various bits of my print code. Is there a simple way to do it?

Recommended Answers

All 4 Replies

Which code?

python 2.6?

the code that is printed (viewed when run)

import sys
print(sys.version)

great thanks, Im still learning about libraries

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.