When a judgment or final order is rendered by any court in a case, and a party thereto, by fraud, accident, mistake, or excusable negligence, has been prevented from taking an appeal, he may file a petition in such court and in the same case praying that the appeal be given due course.