In Python how do you put a program inside a program
<p>I would like to take all my simple math programs for basic financial ratios and compile it into one program where I could print the list of the programs and allow the user to select the one in which he or she is wishing to run. How would this be accomplished? </p>

<p>What I have tried so far has ended up in just running through all of the programs and then allowing to state the one you wish to do after you have gone through all the previous ones ex: opening the file and running it, going through each one the having to put margin() to run the program margin().</p>

<p>Thank you for your help in advance. I am new to programing and all my experience is self taught through readings and videos and I wish to do this in python the language I am most familiar with.</p>
