Is something like this difficult in Python? irb(main):004:0> print "Working..."; calc(); puts "finished." Working...finished.