Print statement not printing any thing on console in python : Print statement not printing any thing on console in python.

- i am printing the key, value of the json file  of which key starts with '@id'

    found=False
    for key,di in json.loads(json_data).iteritems():
      for k,v in di.items():
         if k.startswith('@id'):
            found=True
            print k,v
            sys.stout.flush()
            break
      if found:
        break

I think i have done a silly mistake ..please help .


