Yes, it saved my time big time.
Thank you Bruno.
I use the print >>>file to generate HTML files. print is very flexible and
nice.
The dictionary formatting that Brunto said is awesome!
Thanks again,
Alan
Didn't know of the >> syntax: lovely to know about it Bruno - thank
you.
To the OP - I find the print statement useful for something like:
print 'this','is','a','test'(with implicit newline and implicit spacing between parameters)
If you want more control (more flexibility, perhaps?) over the
formatting of the output: be it spacing between parameters or newline
control, use the methods Bruno describes below.
I'm not sure if you can suppress the spacing between elements (would
love to be corrected though); to stop the implicit newline use
something like
print 'testing',(but - with the leading comma, the newline is suppressed)
I personally find that print is convenient for sentences (or writing
'lines').
Thought it worth pointing this out in case, like some I know, you come
across a cropper with certain output streams.
All the best,
Jon.