On 9 August 2013 14:28, snakeinmyboot <mikelha...@gmail.com> wrote: > On Thursday, August 8, 2013 1:13:48 AM UTC-4, David wrote: >> On 8 August 2013 14:06, snakeinmyboot <mikelha...@gmail.com> wrote: >> >> Did you try at all to find the answer to this yourself? >> >> I ask because it took me only a few seconds to go to wikipedia and >> search for "boilerplate" find this for you: >> >> http://en.wikipedia.org/wiki/Boilerplate_code >> >> Tip: To successfully use forums like this one (where a lot of very >> smart people read), the more care/effort/thought you demonstrate that >> you tried to solve your issue before asking, the more likely you are >> to receive a response. > > I did read that article but I couldnt really figure out how to apply it to > the code he was giving as an example of making it "conditional".
Did you try the research method I gave you in my previous answer? -- http://mail.python.org/mailman/listinfo/python-list