argparse code problems
<p>write a script that takes two optional boolean arguments,"--verbose‚" and ‚"--live", and two required string arguments, "base"and "pattern". Please set up the command line processing using argparse.</p>

<pre><code>def main():
    """Put the proper argparse goodness below."""
    pass
</code></pre>

<p>This is the code I had for the question, but I am totally lost. Any pointers or your pov on the code would be helpful. </p>

<pre><code>import argparse 
parser = argparse.ArgumentParser(description = ("arguments"))
parser = add_argument(--verbose, "base", Type = String)
parser = add_argument(--live, "pattern", Type = String)
parser.argparse('base')argparse('pattern')
print = argparse.ArgumentParer(description = ('arguments')
</code></pre>
