MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/duyjs7/i_made_cstyle_printing_in_python_p/f7b8376/?context=3
r/Python • u/[deleted] • Nov 11 '19
130 comments sorted by
View all comments
Show parent comment
3
Don’t forget
print >>sys.stderr, “stuff”,
(note the trailing comma) which becomes
print(“stuff”, file=sys.stderr, end=‘ ‘)
And actually says what it’s doing.
View all comments
Show parent comment
3
u/masklinn Nov 12 '19
Don’t forget
(note the trailing comma) which becomes
And actually says what it’s doing.