ValueError: need more than 3 values to unpack

2006-01-21 Thread Elezar Simeon Papo
Hello All, I have a tab separated input file (data.txt) in text format - the file looks like this SCHOOL DEPART1 DEPART2 DEPART3 Harvard Economics Mathematics Physics StanfordMathematics Physics BerkeleyPhysics U.C.L.A Biology Genetics I have to utilize Python and

Re: ValueError: need more than 3 values to unpack

2006-02-07 Thread Elezar Simeon Papo
Thanks a lot guys. this solved the problem. Best Elezar -- Izraz.com - an open bosnian-croatian-serbian dictionary http://izraz.com/Category:Medicinska_stanja -- http://mail.python.org/mailman/listinfo/python-list

Re: tricky regular expressions

2006-02-08 Thread Elezar Simeon Papo
I had a somewhat similar problem that got solved with a line-based state machine parser. Cheers, Elezar = Wiki Dictionary - Bosnian/Croatian/Serbian http://izraz.com/%C4%8Cengi%C4%87_vila -- http://mail.python.org/mailman/listinfo/python-list