python restart the program after running a method
<p>A noob question I'm sure.
For example, say I have a program that looks something like this.</p>

<pre><code>def method1():
    #do something here

def method2():
    #do something here

#this is the menu
menu=input("What would you like to do?\ntype 1 for method1 or 2 for method2: ")
if(menu=="1"):
    method1()
if(menu=="2"):
    method2()
</code></pre>

<p>How can I make this menu appear again after a method has finished instead of the program terminating?</p>

<p>I was thinking I could wrap the whole program into an endless loop, but that doesn't feel right :P</p>
