Closed GoogleCodeExporter closed 9 years ago
Original comment by radist...@gmail.com
on 19 Feb 2010 at 6:47
>Seems like it's spider.py's mistake
Confirmed
>>> str ='1 3 5'
>>> string.split(s=str, maxsplit=2)
['1', '3', '5']
>>> string.split(s=str, sep=' ', maxsplit=2)
['1', '3', ' 5']
Please try spider.py with all 'string.split(s=line, maxsplit=?)' changed into
'string.split(s=line, sep=' ', maxsplit=?)'
Original comment by ruslan.savchenko
on 19 Feb 2010 at 7:38
Original comment by ruslan.savchenko
on 19 Feb 2010 at 7:39
> Please try spider.py with all 'string.split(s=line, maxsplit=?)' changed into
> 'string.split(s=line, sep=' ', maxsplit=?)'
Seems like it's working fine.
BTW, why fields are separated with spaces, but not with \t?
Original comment by radist...@gmail.com
on 19 Feb 2010 at 11:17
why would you need \t?
Original comment by ruslan.savchenko
on 19 Feb 2010 at 7:11
\t is more common for dividing fields in text file and uncommon in file names
Original comment by radist...@gmail.com
on 19 Feb 2010 at 7:15
i don't see the point.
Original comment by ruslan.savchenko
on 19 Feb 2010 at 7:44
closed
Original comment by ruslan.savchenko
on 19 Feb 2010 at 7:58
Original issue reported on code.google.com by
radist...@gmail.com
on 19 Feb 2010 at 6:42