Alec Baldwin: future mayor of New York? Don’t rule it out. (Susan Walsh/AP)

In an interview with the New York Times, the “30 Rock” actor explained that he is committed to the NBC show until April 2012, which would make running difficult. But that fall, he wants to enroll in a politics and government master’s program so he can understand what it would really be like to be mayor. “What’s the reality of the city unions, of contracts, agreements, teachers, infrastructure, decentralizing, everything? And utilities, Con Ed, the M.T.A. — how does it all work?” he said.

Speculation that the actor would run hit a high point with the resignation of Rep. Anthony Weiner, who was thought to be a contender until he was brought down by a Twitter scandal.

On the flip side, Baldwin has been using his Twitter to engage fans in political discussions. “Why do you think people (unemployed & lower class) are engaging in the riots? Is it mindless thuggery or a political statement?” one Twitter user asked of the riots in London. “People are frightened. Frustrated. Many govts today simply seem like a drunken parent, passed out on a sofa,” he replied.

Read the whole interview at the New York Times.