Dealing with Command Line Options in Python

You can't request more than 20 challenges without solving them. Your previous challenges were flushed.

I just wrote a bit of Python to generate some reports from the contents of a database. The one program that was more than just "display the data" was the one to print the transaction log.

It included some sub-totals for various fields and paginated output.

The one task remaining was to give it some options.

That is, to pass it some criteria that would modify the report.

read more

...


 

More related items

Excited About PHP Again - Brandon Savage
Ten months ago when I started at Mozilla, I began transitioning away from PHP and into Python and Django. This was inevitable: the Mozilla Webdev team favors Python over PHP in almost every...

Miro Internet TV: Internet TV for Ubuntu Desktop
Linuxaria: "Miro, first launched in 2005 then revamped in 2007 (it was first launched as Democracy Player), is written in Python."

Volker Dusch's Blog: Textual code coverage...
In a new post to his blog Volker Dusch points out a new feature in a recent release of PHPUnit, the popular unit testing framework for PHP - textual code coverage details. Three weeks ago...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com