On Tue, 11 Oct 2011 17:04:45 -0600, Kristen J. Webb wrote: > After some more digging I see that I can easy_install argparse on my > development system. > > My question is will I be able to ship this to a customer? Can I create > .pyc files so that the customer does not have to install the argparse > module?
Yes, and yes. The licence of argparse is a very liberal licence, so you can just include it in your application. There's no need for the user to install it separately. You could include just the .pyc file if you insist, but I personally don't like or recommend .pyc only installations. > If not, and I want to go back into the 2.3+ range, should I just use > optparse? That depends on how complex your command line arguments are. -- Steven -- http://mail.python.org/mailman/listinfo/python-list