Several former prosecutors, law professors and various legal scholars are in agreement that former President Donald Trump isn’t doing himself any favors in appeals pending in court by repeatedly attacking judges and prosecutors involved in his various legal cases. Trump spent Thursday in a courtroom in Manhattan, where his attorneys dueled with New York Attorney General Letitia James in each side’s closing arguments. Following five hours of courtroom proceedings, Trump used his Truth Social account to unleash on Judge Arthur Engoron — who is overseeing the trial — accusing him of “ELECTION INT…