[Ilugc] pyparsing wrong output

  • From: samrat.ashok87@xxxxxxxxx (ashok samrat)
  • Date: Fri Feb 12 19:24:42 2010

Hi ,

I get output as: <generator object at 0xb723b80c>

I havent checked the code , but looks to me you are not iterating over
a generator object . In python if a object is a generator object ,
then the way to access is :

for val in generator_object:
   print val

and Not print generator_object .

HTH
Ashok

Other related posts: