⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.12
/
__pycache__
/
View File Name :
optparse.cpython-312.pyc
CRh d Z dZg dZdZddlZddlZddlZd Z ddlmZm Z eZ G d de Z G d d e Z G d de Z G d de Z G d de Z G d de Z G d d Z G d de Z G d de Zd Zd Ze ed fe ed fe ed fe ed fd!Zd" Zd# Zd$Z G d% d& Zd'Zd(Z G d) d* Z! G d+ d, Z" G d- d.e" Z# G d/ d0e" Z$d1 Z%eZ&y# e $ r d Zd Z Y w xY w)2a A powerful, extensible, and easy-to-use option parser. By Greg Ward
Originally distributed as Optik. For support, use the optik-users@lists.sourceforge.net mailing list (http://lists.sourceforge.net/lists/listinfo/optik-users). Simple usage example: from optparse import OptionParser parser = OptionParser() parser.add_option("-f", "--file", dest="filename", help="write report to FILE", metavar="FILE") parser.add_option("-q", "--quiet", action="store_false", dest="verbose", default=True, help="don't print status messages to stdout") (options, args) = parser.parse_args() z1.5.3)Optionmake_option SUPPRESS_HELPSUPPRESS_USAGEValuesOptionContainerOptionGroupOptionParser HelpFormatterIndentedHelpFormatterTitledHelpFormatter OptParseErrorOptionErrorOptionConflictErrorOptionValueErrorBadOptionErrorcheck_choicea" Copyright (c) 2001-2006 Gregory P. Ward. All rights reserved. Copyright (c) 2002-2006 Python Software Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Nc L d| j j t | | fz S )Nz<%s at 0x%x: %s>) __class____name__idselfs /usr/lib/python3.12/optparse.py_reprr O s" !8!8"T(D III )gettextngettextc | S N )messages r r r \ s r c |dk( r| S |S N r! )singularpluralns r r r _ s 6O r c e Zd Zd Zd Zy)r c || _ y r msgr r, s r __init__zOptParseError.__init__h s r c | j S r r+ r s r __str__zOptParseError.__str__k s xxr N)r __module____qualname__r. r0 r! r r r r g s r r c e Zd ZdZd Zd Zy)r z] Raised if an Option instance is created with invalid or inconsistent arguments. c 2 || _ t | | _ y r )r, str option_id)r r, options r r. zOptionError.__init__u s Vr c j | j rd| j d| j S | j S )Nzoption z: )r6 r, r s r r0 zOptionError.__str__y s% >>&*nndhh??88Or Nr r1 r2 __doc__r. r0 r! r r r r o s %r r c e Zd ZdZy)r zE Raised if conflicting options are added to an OptionParser. Nr r1 r2 r: r! r r r r s r r c e Zd ZdZy)r zS Raised if an invalid option value is encountered on the command line. Nr<