<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>eh estado tratado de&nbsp;&nbsp; hacer que una 
variable&nbsp; tome un nombre que esta conformado por dos partes:</FONT></DIV>
<DIV><FONT face=Arial size=2>1.- 'inputs'</FONT></DIV>
<DIV><FONT face=Arial size=2>2.- un numero consecutivo</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; inputs='input'+str(i)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>y que&nbsp; ese&nbsp; nombre que resulte,&nbsp; 
hacer que&nbsp; otra variable&nbsp; tome ese nombre, pero que&nbsp; le&nbsp; 
asigne algun otra cosa.</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>alguien pudiera&nbsp; decirme como&nbsp; hacerlo? 
de antemano&nbsp; muchisimas gracias</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>for i in 
range(1,10):<BR>&nbsp;inputs='input'+str(i)<BR>&nbsp;outputs='output'+str(i)<BR>&nbsp;lineas='linea'+str(i)<BR>&nbsp;eval(inputs)=open(str(i),'r')<BR>&nbsp;eval(outputs)=open('out'+str(i),'a')<BR>&nbsp;eval(lineas)=eval(inputs.readlines())<BR>&nbsp;eval(inputs).close()</FONT></DIV></BODY></HTML>