flit a écrit :
> Hi!
> I am using the csv modules..
>
> when I use the command:
>
> if nome in row[rowcsv]:
> print "\n"
> print row[rowcsv] + "\n > " + row[11] + "\n"
> print
> ""
Python 2
import re
if re.search(nome, row[rowcsv], re.I):
...
that's re.I [capital i] as in ignorecase.
flit wrote:
> Hi!
> I am using the csv modules..
>
> when I use the command:
>
> if nome in row[rowcsv]:
> print "\n"
> print row[rowcsv] + "\n > " + row[11] + "\n"
>
Hi!
I am using the csv modules..
when I use the command:
if nome in row[rowcsv]:
print "\n"
print row[rowcsv] + "\n > " + row[11] + "\n"
print
""
there is this case:
1- data on file PUItar