PyDocs

Nav

Command-line interface libraries

OptionParser.print_version

  • OptionParser.print_version(file=None)
print_version(file : file = stdout)

Print the version message for this program (self.version) to
'file' (default stdout).  As with print_usage(), any occurrence
of "%prog" in self.version is replaced by the current program's
name.  Does nothing if self.version is empty or undefined.
0 Examples
No examples for optparse/OptionParser.print_version.
See Also
No see-alsos for optparse/OptionParser.print_version
0 Notes
No notes for OptionParser.print_version