< Home - < Back

python-dtopt


Information about the package, python-dtopt, which is shipped with common Linux distributions. The python-dtopt package is designed for, Add options to doctest examples while they are running.


Package Name:

python-dtopt

Summary:

Add options to doctest examples while they are running

Description:

dtopts adds options to doctest examples while they are running. When using the doctest module it is often convenient to use the ELLIPSIS option, which allows you to use ... as a wildcard. But you either have to setup the test runner to use this option, or you must put #doctest: +ELLIPSIS on every example that uses this feature. dtopt lets you enable this option globally from within a doctest, by doing: >>> from dtopt import ELLIPSIS

Architecture:

noarch

Version:

0.1

Release:

6.el6

Size:

11 k

Repository:

base

From Repository:

Licence:

MIT



Handy Yum Commands for python-dtopt


Control the python-dtopt package with the following handy commands outlined below.


Command

Description of Command

yum install python-dtopt

This command will install python-dtopt on the server.

yum remove python-dtopt

This command will un-install python-dtopt on the server. When you run this command, you will be asked if you are sure that you want to remove python-dtopt, so you have to manually confirm that you want to do this.

yum -y remove python-dtopt

This command will un-install python-dtopt on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-dtopt when using the -y flag.

yum update python-dtopt

This command will update python-dtopt to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-dtopt, so you have to manually confirm that you want to do this.

yum -y update python-dtopt

This command will update python-dtopt to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-dtopt when using the -y flag.

yum info python-dtopt

This command will show you core information about the python-dtopt package.

yum deplist python-dtopt

This command will show you the dependencies for python-dtopt. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python-dtopt

This command will check if there is an update waiting on python-dtopt. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.