I’m used to doing
print >>f, "hi there"
However, it seems that
print >> is getting deprecated. What is the recommended way to do the line above?
Update: Regarding all those answers with
"\n"…is this universal or Unix-specific? IE, should I be doing
"\r\n" on Windows?