Hilbert wrote: > Hello, > > Why does the following result in an error? > > f = file("welcome.txt","w") > print "hello", >> f Because the "print>>BAH" syntax is all wacko. You need to code: print >> f, "hello" Alex