Cody is a city in Park County, Wyoming, United States. It is named after William Frederick Cody, primarily known as Buffalo Bill, from William Cody's part in the creation of the original town. The population was 8,835 at the 2000 census. It is the county seat of Park County. Cody is served by Yellowstone Regional Airport.