1. how can I format outfile so i can write multiple lines
and then apend multiple lines later before closing the file?

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.

 2. how can I make data formatting string '%25s' intiger (in this
case 25) a variable?

Use %*s. Assuming width = 25:
%25s' % 3 == '%*s' % (width, 3)

Bob Gailer
mailto:[EMAIL PROTECTED]
510 558 3275 home
720 938 2625 cell

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to