original_docstring: 
      Expect a Place name and add a record in PlaceJob for it.
  
      A Place could be Supername, Country or a Town. Continents should not
      be looked up.
  
      Multiples places with the same name will all be added e.g. add both
      towns for input 'Valencia'.
  
      :param placeName: Default name of place to add job for, as a string.
          If not supplied, prompt user for input text.
  
      :return: None
      
docstring: Expect a Place name and add a record in PlaceJob for it.
  A Place could be Supername, Country or a Town. Continents should not
  be looked up.
  
  Multiples places with the same name will all be added e.g. add both
  towns for input 'Valencia'.
docstring_tokens: Expect a Place name and add a record in PlaceJob for it . A Place could be Supername Country or a Town . Continents should not be looked up . Multiples places with the same name will all be added e . g . add both towns for input ' Valencia ' .
code: def insertPlaceByName(placeName=None):
      """
      Expect a Place name and add a record in PlaceJob for it.
  
      A Place could be Supername, Country or a Town. Continents should not
      be looked up.
  
      Multiples places with the same name will all be added e.g. add both
      towns for input 'Valencia'.
  
      :param placeName: Default name of place to add job for, as a string.
          If not supplied, prompt user for input text.
  
      :return: None
      """
      if not placeName:
          placeName = input("jobManager. Insert - enter place name /> ")
  
      results = db.Place.selectBy(name=placeName)
  
      if results.count():
          for place in results:
              output = (place.woeid, place.name)
              try:
                  db.PlaceJob(placeID=place.id)
                  print("{0:10} | {1:15} | -> added".format(*output))
              except DuplicateEntryError:
                  print("{0:10} | {1:15} | -> already exists".format(*output))
      else:
          raise ValueError(
              "The name `{0}` was not found in Place table.".format(placeName)
          )
code_tokens: def insertPlaceByName ( placeName = None ) : if not placeName : placeName = input ( "jobManager. Insert - enter place name /> " ) results = db . Place . selectBy ( name = placeName ) if results . count ( ) : for place in results : output = ( place . woeid , place . name ) try : db . PlaceJob ( placeID = place . id ) print ( "{0:10} | {1:15} | -> added" . format ( * output ) ) except DuplicateEntryError : print ( "{0:10} | {1:15} | -> already exists" . format ( * output ) ) else : raise ValueError ( "The name `{0}` was not found in Place table." . format ( placeName ) )
short_docstring: Expect a Place name and add a record in PlaceJob for it.
short_docstring_tokens: Expect a Place name and add a record in PlaceJob for it .
comment: """
      Expect a Place name and add a record in PlaceJob for it.
  
      A Place could be Supername, Country or a Town. Continents should not
      be looked up.
  
      Multiples places with the same name will all be added e.g. add both
      towns for input 'Valencia'.
  
      :param placeName: Default name of place to add job for, as a string.
          If not supplied, prompt user for input text.
  
      :return: None
      """