code: def create_hit(self, hit_config):
          ''' Create HIT '''
          try:
              if not self.connect_to_turk():
                  return False
              self.configure_hit(hit_config)
              myhit = self.mtc.create_hit_with_hit_type(**self.param_dict)['HIT']
              self.hitid = myhit['HITId']
          except Exception as e:
              print e
              return False
          else:
              return self.hitif create_hit(self, hit_config):
          ''' Create HIT '''
          try:
              if not self.connect_to_turk():
                  return False
              self.configure_hit(hit_config)
              myhit = self.mtc.create_hit_with_hit_type(**self.param_dict)['HIT']
              self.hitid = myhit['HITId']
          except Exception as e:
              print e
              return False
          else:
              return self.hitid
docs: Create HIT