Andy Dick  threatened to grope a TMZ female photog, steadfastly refusing to apologize for allegedly sexually harassing people and talking about killing himself.

Dick was clearly drunk as he told our photog he knows Harvey Weinstein, Kevin Spacey and others accused of sexual harassment or assault, and he says, like him, all they were trying to do was get a date.

Dick has been accused of licking people, groping their genitals and unwanted kissing. He cops to licking and, in the face of denying the other allegations, he threatens to grope our photog.

He also says he almost daily contemplates suicide.