You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
243 B

  1. #!/usr/bin/python
  2. from gearman import libgearman
  3. def main():
  4. client = libgearman.Client()
  5. client.add_server("127.0.0.1", 4730)
  6. r = client.do("ToUpper", "arbitrary binary data")
  7. print r
  8. if __name__ == '__main__':
  9. main()