I have done this python code: import string cadena=split(REQUEST.url) for i in cadena: print i # I do more things whith the string but this doesn´t mind REQUEST.url : comes from a form (ZOPE), it´s a textarea filled with a list of url. I want to threat these url one by one, but my code doesnt work at all. why??? thanks. **************************** DISCLAIMER ****************************** This message is intended exclusively for the named person. It may contain confidential, propietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it an notify the sender. Your must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of 'CÁTENON'. Please note that internet e-mail neither guarantees the confidentiality nor the proper receipt of the message sent. If the addressee of this message does not consent to the use of internet e-mail, please communicate it to us immediately. *************************** AVISO LEGAL ***************************** Este mensaje es solamente para la persona a la que va dirigido. Puede contener información confidencial o legalmente protegida. No hay renuncia a la confidencialidad o privilegio por cualquier transmisión mala/ errónea. Si usted ha recibido este mensaje por error, le rogamos que borre de su sistema inmediatamente el mensaje así como todas sus copias, destruya todas las copias del mismo de su disco duro y notifique al remitente. No debe, directa o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de este mensaje si no es usted el destinatario. Cualquier opinión expresada en este mensaje proviene del remitente, excepto cuando el mensaje establezca lo contrario y el remitente esté autorizado para establecer que dichas opiniones provienen de 'CÁTENON'. Nótese que el correo electrónico vía Internet no permite asegurar ni la confidencialidad de los mensajes que se transmiten ni la correcta recepción de los mismos. En el caso de que el destinatario de este mensaje no consintiera la utilización del correo electrónico vía Internet, rogamos lo ponga en nuestro conocimiento de manera inmediata. ************************************************************************
On Thu, 14 Feb 2002, [iso-8859-1] Miguel Rodr�guez wrote:
I have done this python code: import string cadena=split(REQUEST.url) for i in cadena: print i # I do more things whith the string but this doesn�t mind
REQUEST.url : comes from a form (ZOPE), it�s a textarea filled with a list of url. I want to threat these url one by one, but my code doesnt work at all. why???
try using string.split() hth. Jerome Alet
participants (2)
-
Jerome Alet -
Miguel Rodríguez