Non Static Method Inside Static Method In Python