<html>
<body>
<blockquote type=cite class=cite cite="">1. how can I format outfile so i
can write multiple lines<br>
and then apend multiple lines later before closing the
file?</blockquote><br>
It sounds like you want to update the file in successive passes. This is
hard or impossible. Your best bet is to read one file and write
another.<br><br>
<blockquote type=cite class=cite cite="">&nbsp;2. how can I make data
formatting string '%25s' intiger (in this<br>
case 25) a variable?</blockquote><br>
Use %*s. Assuming width = 25:<br>
%25s' % 3 == '%*s' % (width, 3) <br>
<x-sigsep><p></x-sigsep>
<font size=2>Bob Gailer<br>
<a href="mailto:bgailer@alum.rpi.edu" eudora="autourl">mailto:bgailer@alum.rpi.edu<br>
</a>510 558 3275 home<br>
720 938 2625 cell</font> </body>
</html>