At the end of an ominous week for the global economy, Friday brought new signs that the world may not be ending after all — though even the good news came with asterisks.

The United States managed modest job creation last month, the government reported. The unemployment rate even ticked down a notch, offering hope that the economy may not be slipping back toward recession. That said, the report was a bright spot mainly because of diminished expectations after months of disappointments.

However, the day ended on a worrisome note: Standard & Poor’s, the credit rating firm, downgraded the U.S. government’s AAA credit rating Friday night. The move could increase Washington’s cost to borrow money, as well as trigger ripple effects around the globe.

Meanwhile, as Europe’s debt crisis threatens to spiral out of control, the Italian government said it will enact new measures to try to reduce budget deficits and make its labor market more efficient, steps meant to instill confidence among the global investors who have fled its debt. But there were still no guarantees that the actions will be enough to restore confidence in one of Europe’s biggest economies.

Wall Street had a seesaw day, as investors reacted to those and other pieces of news with wild swings — the Dow Jones Industrial Average soared up 171 points, then later was down 243 — reflecting the deep uncertainty that has gripped markets over the past two weeks. U.S. markets closed mixed: The S&P 500 stock index closed down 0.1 percent; the Dow up 61 points, or 0.5 percent.

After the sell-off of nearly 5 percent in the S&P index on Thursday, two big fears have the world financial markets on edge: that the United States could fall back into recession, and that the European debt crisis could spread to the huge economies of Spain and Italy.

The first fear was eased Friday morning when the Labor Department said that U.S. employers added 117,000 jobs in July, more than double the revised 46,000 added jobs in June and better than the 85,000 net new jobs for July that were forecast. The unemployment rate ticked down to 9.1 percent, from 9.2 percent in June. The private sector did even better, adding 154,000 positions. But governments — particularly at the state and local level — slashed enough positions to hold back overall job growth. Minnesota’s government shutdown alone accounted for 23,000 lost jobs.

“Today’s employment report was a relief, given increasing market fears over the likelihood of a second recession,” said Neil Dutta, an economist at Bank of America-Merrill Lynch. “Contrary to recent opinion, the economy is not collapsing.”

Speaking at the Washington Navy Yard, President Obama acknowledged that “this has been a tumultuous year.”

“We need to create a self-sustaining cycle where people are spending, companies are hiring, and our economy is growing,” said Obama, urging Congress to extend a temporary payroll tax cut and unemployment insurance benefits.

House Speaker John Boehner, R-Ohio, blamed the weak jobs picture on the president’s policies.

“While the American people are asking ‘where are the jobs?’ the Democrats running Washington are determined to punish small businesses with higher taxes and more red tape,” Boehner said in a statement.

There was little to love in the report. The jobless rate declined for bad reasons: 193,000 people dropped out of the labor force, no longer counted as unemployed because they apparently gave up looking for work.

And only 58.1 percent of the U.S. population had a job, down one-tenth of a point from June to reach the lowest level since the early 1980s.

Businesses “appear to believe they can maintain profits while adding cautiously to payrolls,” Conference Board economist Kathy Bostjancic said. “If that is true, the labor market will slowly come back, but it’s a long way back.”

Still, the modest job growth helps allay fears that U.S. economic activity is shrinking, rather than growing slowly. In recent days, exceptionally weak reports on U.S. economic output in the first half of the year, the manufacturing sector and consumer spending have deepened fears of recession.

Job creation was strongest in the health-care field, which added 37,000 positions.

The steepest losses were in government jobs, which shed 37,000 positions as state and local governments slashed their budgets to grapple with lower revenues.