python (3.12.0)

(root)/
lib/
python3.12/
zipfile/
__pycache__/
__main__.cpython-312.opt-2.pyc

͑e
FddlZddlZddlmZmZddZedk(reyy)N)ZipFileZIP_DEFLATEDcddl}d}|j|}|jd}|jdddd	
|jddd
dd|jddddd|jdddd
|jddd
|j	|}|j
}|j[|j}t|d|5}|j}dddrtdj|tdy|j4|j}t|d|5}|jdddy|j8|j\}}	t|d|5}|j|	dddy|j|r0td t j"!t!j$d"|jj'd}
|j}fd#t|
d$5}|D]}t(j*j-|}
|
s<t(j*j-t(j*j/|}
|
d%t(j0t(j2fvrd%}
|||
	dddyy#1swYxYw#1swYyxYw#1swYyxYw#1swYyxYw)&Nrz3A simple command-line interface for zipfile module.)descriptionT)requiredz-lz--list	<zipfile>zShow listing of a zipfile)metavarhelpz-ez	--extract)r	z<output_dir>zExtract zipfile into target dir)nargsr
rz-cz--create+)z<name>z<file>zCreate zipfile from sourcesz-tz--testzTest if a zipfile is validz--metadata-encodingz
<encoding>z2Specify encoding of member names for -l, -e and -tr)metadata_encodingz.The following enclosed file is corrupted: {!r}zDone testingz/Non-conforming encodings not supported with -c.)filerc	tjj|r|j||tytjj|r~|r|j||t
tj|D]H}|tjj||tjj||JyyN)	ospathisfilewriterisdirsortedlistdirjoin)zfrzippathnmaddToZips    D/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/zipfile/__main__.pyrzmain.<locals>.addToZip7sww~~d#w5t$HHT7+ D!12PBRWW\\$3RWW\\'25NPP%w)argparseArgumentParseradd_mutually_exclusive_groupadd_argument
parse_argsrtestrtestzipprintformatlistprintdirextract
extractallcreatesysstderrexitpoprrbasenamedirnamecurdirpardir)argsr$rparsergroupencodingsrcrbadfiler8zip_namefilesrrrs              @r mainrBsGK

$
$
$
=F///>E	tX{79	t[<=?
tZs39;
tX{8:
-|QST"D%%Hyyii
S#
:	#bjjlG	#BII'RS
n	
	ii
S#
:	bKKM		
	!llV
S#
:	"bMM&!	"	"
	 Czz
#HHQK;;??1%	PXs
#	,r
,''**40 gg..rwwt/DEGr299bii88 GT7+

,	,	,)
!!	#	#		
	"	".	,	,s1J4KK
BK4J>K

KK"__main__r)r2rr#rrrB__name__r!r <module>rFs)
	#C,LzFr!