I have the following code:<br><br>import gzip<br>import datetime<br>date = datetime.date.today()<br>name = date.strftime('%m-%d-%Y')+'.gz'<br>date.strftime('%m-%d-%Y')+'.gz'<br>print "The name of the file will be", name<br>
<br>the output is:<br>The name of the file will be<br>The name of the file will be 06-08-2009.gz<br><br><br>I can't figure out why 'The name of the file will be' is printing twice. Any help appreciated.<br>