hcard 270 B

12345678910111213141516
  1. #!/usr/bin/env python
  2. import sys
  3. from ostatus.hcard import hcard
  4. def run():
  5. args = sys.argv
  6. for arg in args[1:]:
  7. data = hcard(arg)
  8. for key, value in data.items():
  9. print '%s: %s' % (key, value)
  10. if __name__ == '__main__':
  11. run()