U.S. President Barack Obama speaks during a news conference at the Organization for Economic Cooperation and Development Centre, in Paris, on Tuesday, Dec. 1, 2015.

(AP Photo/Evan Vucci)

President Barack Obama says he hopes the shooting at a Planned Parenthood clinic in Colorado Springs spurs conversation and action on deterring gun violence.

Obama, speaking at a global warming conference Tuesday, says it will ultimately be up to Congress, states and local governments to act in ways that prevent people intent on committing violence from getting weapons.

"We are rightly determined to prevent terrorist attacks wherever they occur, whether in the United States or with friends and allies like France," he said.

He says the United States spends enormous resources to prevent terrorist attacks and the country has the power to do much more to prevent regular occurrence of gun homicides.

Last week's attack in Colorado killed three people. Nine others were wounded.