Could you explain why this program runs?

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Jun 25 12:01:35 EDT 2015


On 25/06/2015 16:20, fl wrote:
> Hi,
>
> I download and install pyPDF2 library online. It says the test can run by:
>
> python -m unittest Tests.tests
>

The -m flag says run unittest as a script which then calls Tests.tests.

You can find out what all flags do by typing at the command prompt.

python --help

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list