Ë ‚Ö¦iñXãó¶—dZddlmZddlZddlZddlZgd¢ZGd„de«ZdZ dZ d Z d Z ed d «Z d „ZGd„d«ZGd„d«ZGd„d«Zdd„Zy)a% Stuff to parse WAVE files. Usage. Reading WAVE files: f = wave.open(file, 'r') where file is either the name of a file or an open file pointer. The open file pointer must have methods read(), seek(), and close(). When the setpos() and rewind() methods are not used, the seek() method is not necessary. This returns an instance of a class with the following public methods: getnchannels() -- returns number of audio channels (1 for mono, 2 for stereo) getsampwidth() -- returns sample width in bytes getframerate() -- returns sampling frequency getnframes() -- returns number of audio frames getcomptype() -- returns compression type ('NONE' for linear samples) getcompname() -- returns human-readable version of compression type ('not compressed' linear samples) getparams() -- returns a namedtuple consisting of all of the above in the above order getmarkers() -- returns None (for compatibility with the aifc module) getmark(id) -- raises an error since the mark does not exist (for compatibility with the aifc module) readframes(n) -- returns at most n frames of audio rewind() -- rewind to the beginning of the audio stream setpos(pos) -- seek to the specified position tell() -- return the current position close() -- close the instance (make it unusable) The position returned by tell() and the position given to setpos() are compatible and have nothing to do with the actual position in the file. The close() method is called automatically when the class instance is destroyed. Writing WAVE files: f = wave.open(file, 'w') where file is either the name of a file or an open file pointer. The open file pointer must have methods write(), tell(), seek(), and close(). This returns an instance of a class with the following public methods: setnchannels(n) -- set the number of channels setsampwidth(n) -- set the sample width setframerate(n) -- set the frame rate setnframes(n) -- set the number of frames setcomptype(type, name) -- set the compression type and the human-readable compression type setparams(tuple) -- set all parameters at once tell() -- return current position in output file writeframesraw(data) -- write audio frames without patching up the file header writeframes(data) -- write audio frames and patch up the file header close() -- patch up the file header and close the output file You should set the parameters before the first writeframesraw or writeframes. The total number of frames does not need to be set, but when it is set to the correct value, the header does not have to be patched up. It is best to first set all parameters, perhaps possibly the compression type, and then write audio frames using writeframesraw. When all frames have been written, either call writeframes(b'') or close() to patch up the sizes in the header. The close() method is called automatically when the class instance is destroyed. é)Ú namedtupleN)ÚopenÚErrorÚ Wave_readÚ Wave_writecó —eZdZy)rN)Ú__name__Ú __module__Ú __qualname__©óú/usr/lib64/python3.12/wave.pyrrRs„Ør réiþÿs€ª8›q)NÚbÚhNÚiÚ _wave_paramsz7nchannels sampwidth framerate nframes comptype compnamecó¾—tt|««}tdt|«|«D]&}t|«D]}|||z|||zdz |z <ŒŒ(t|«S)Nrr)Ú bytearrayÚlenÚrangeÚbytes)ÚdataÚwidthÚ swapped_datarÚjs rÚ _byteswapr`sa€ÜœS ›YÓ'€Lä �1”c˜$“i Ö 'ˆÜ�u–ˆAØ.2°1°q±5©kˆL˜˜U™ Q™¨Ñ*Ò +ñð(ô �Ó Ðr có<—eZdZd d„Zd„Zd„Zd d„Zd„Zd d„Zd„Z y) Ú_Chunkcó—d|_||_|rd}nd}||_|jd«|_t |j«dkrt ‚ tj|dz|jd««d|_ |r|jdz |_ d|_ |jj«|_ d|_y#tj$rt d‚wxYw#tt f$r d|_YywxYw) NFÚ>Ú<éÚLréT)ÚclosedÚalignÚfileÚreadÚ chunknamerÚEOFErrorÚstructÚ unpack_fromÚ chunksizeÚerrorÚ size_readÚtellÚoffsetÚseekableÚAttributeErrorÚOSError)Úselfr(r'Ú bigendianÚ inclheaderÚstrflags rÚ__init__z_Chunk.__init__ksè€ØˆŒ ؈Œ ٠؉GàˆG؈Œ ØŸ™ 1›ˆŒÜ ˆt�~‰~Ó  Ò "܈Nð %Ü#×/Ñ/°¸± ¸T¿Y¹YÀq»\ÓJÈ1ÑMˆDŒNñ Ø!Ÿ^™^¨aÑ/ˆDŒN؈Œð !ØŸ)™)Ÿ.™.Ó*ˆDŒKð!ˆD�Møô�|‰|ò %Ü Ð $ð %ûô¤Ð(ò "Ø!ˆDŽMð "úsÁ0C C%ÃC"Ã%C>Ã=C>có—|jS)z*Return the name (ID) of the current chunk.)r*©r6s rÚgetnamez_Chunk.getname„s €à�~‰~Ðr cóf—|js |j«d|_yy#d|_wxYw)NT)r&Úskipr<s rÚclosez _Chunk.closeˆs.€Ø�{Š{ð #Ø— ‘ ” à"�• ð øð#�• úsŽ'§ 0cóF—|jr td«‚|js td«‚|dk(r||jz}n|dk(r||j z}|dks||j kDrt ‚|jj|j|zd«||_y)z¦Seek to specified position into the chunk. Default position is 0 (start of chunk). If the file is not seekable, this will result in an error. úI/O operation on closed filez cannot seekrérN) r&Ú ValueErrorr3r5r0r.Ú RuntimeErrorr(Úseekr2)r6ÚposÚwhences rrFz _Chunk.seek�s�€ð �;Š;ÜÐ;Ó<Ð <Ø�}Š}ܘ-Ó(Ð (Ø �QŠ;ؘŸ™Ñ&‰CØ �qŠ[ؘŸ™Ñ&ˆCØ �Š7�c˜DŸN™NÒ*ÜÐ Ø � ‰ �‰�t—{‘{ SÑ(¨!Ô,؈�r cóH—|jr td«‚|jS)NrB)r&rDr0r<s rr1z _Chunk.tell¢s€Ø �;Š;ÜÐ;Ó<Ð <Ø�~‰~Ðr cóV—|jr td«‚|j|jk\ry|dkr|j|jz }||j|jz kDr|j|jz }|jj |«}|jt |«z|_|j|jk(rS|jrG|jdzr8|jj d«}|jt |«z|_|S)z�Read at most size bytes from the chunk. If size is omitted or negative, read until the end of the chunk. rBr rr)r&rDr0r.r(r)rr')r6ÚsizerÚdummys rr)z _Chunk.read§sÞ€ð �;Š;ÜÐ;Ó<Ð <Ø �>‰>˜TŸ^™^Ò +ØØ �!Š8Ø—>‘> D§N¡NÑ2ˆDØ �$—.‘. 4§>¡>Ñ1Ò 1Ø—>‘> D§N¡NÑ2ˆDØ�y‰y�~‰~˜dÓ#ˆØŸ™¬#¨d«)Ñ3ˆŒØ �>‰>˜TŸ^™^Ò +Ø �:Š:Ø �N‰N˜QÒ Ø—I‘I—N‘N 1Ó%ˆEØ!Ÿ^™^¬c°%«jÑ8ˆDŒN؈ r có—|jr td«‚|jrk |j|jz }|j r|jdzr|dz}|j j|d«|j|z|_y|j|jkrWtd|j|jz «}|j|«}|st‚|j|jkrŒVyy#t$rYŒ|wxYw)zÉSkip the rest of the chunk. If you are not interested in the contents of the chunk, this method should be called so that the file points to the start of the next chunk. rBrNi ) r&rDr3r.r0r'r(rFr5Úminr)r+)r6ÚnrLs rr?z _Chunk.skip¾sÛ€ð �;Š;ÜÐ;Ó<Ð <Ø �=Š=ð Ø—N‘N T§^¡^Ñ3�à—:’: 4§>¡>°AÒ#5ؘA™�AØ— ‘ —‘˜q !Ô$Ø!%§¡°!Ñ!3�”Øð�n‰n˜tŸ~™~Ò-Ü�D˜$Ÿ.™.¨4¯>©>Ñ9Ó:ˆAØ—I‘I˜a“LˆEÙÜ�ð �n‰n˜tŸ~™~Õ-øôò Ùð ús¥A)DÄ D Ä D N)TTF)r)éÿÿÿÿ) r r r r:r=r@rFr1r)r?r r rrrjs%„ó!ò2ò#óò&ó ó.r rcóŽ—eZdZdZd„Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z d „Z d „Z d „Zd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zy)raPVariables used in this class: These variables are available to the user though appropriate methods of this class: _file -- the open file with methods read(), close(), and seek() set through the __init__() method _nchannels -- the number of audio channels available through the getnchannels() method _nframes -- the number of audio frames available through the getnframes() method _sampwidth -- the number of bytes per audio sample available through the getsampwidth() method _framerate -- the sampling frequency available through the getframerate() method _comptype -- the AIFF-C compression type ('NONE' if AIFF) available through the getcomptype() method _compname -- the human-readable AIFF-C compression type available through the getcomptype() method _soundpos -- the position in the audio stream available through the tell() method, set through the setpos() method These variables are used internally only: _fmt_chunk_read -- 1 iff the FMT chunk has been read _data_seek_needed -- 1 iff positioned correctly in audio file for readframes() _data_chunk -- instantiation of a chunk class for the DATA chunk _framesize -- size of one frame in the file có¶—d|_d|_t|d¬«|_|jj «dk7r t d«‚|jj d«dk7r t d«‚d|_d|_ d|_ t|jd¬«}|j «}|d k(r|j|«d|_nI|d k(rD|js t d «‚||_|j|jz|_d|_ n|j«Œ§|jr |js t d «‚y#t$rYŒ/wxYw) Nr)r7óRIFFz file does not start with RIFF idr#óWAVEznot a WAVE filerófmt ódatazdata chunk before fmt chunkz#fmt chunk and/or data chunk missing)Ú_convertÚ _soundposrÚ_filer=rr)Ú_fmt_chunk_readÚ _data_chunkÚ_data_seek_neededr+Ú_read_fmt_chunkr.Ú _framesizeÚ_nframesr?)r6r(Úchunkr*s rÚinitfpzWave_read.initfpøsE€ØˆŒ ؈ŒÜ˜D¨aÔ0ˆŒ Ø �:‰:× Ñ Ó  7Ò *ÜÐ:Ó;Ð ;Ø �:‰:�?‰?˜1Ó  Ò (ÜÐ)Ó*Ð *Ø ˆÔØˆÔØØ%&ˆDÔ "ð ܘtŸz™z°qÔ9�🠙 ›ˆIؘGÒ#Ø×$Ñ$ UÔ+Ø'(�Õ$ؘgÒ%Ø×+Ò+ÜÐ =Ó>Ð>Ø#(�Ô Ø %§¡°4·?±?Ñ B�” Ø)*�Ô&ØØ �J‰JŒLð#ð$×#Ò#¨4×+;Ò+;ÜÐ=Ó>Ð >ð,<øôò Ùð ús E Å EÅEcóÔ—d|_t|t«rtj|d«}||_ |j |«y#|jr|j «‚xYw)NÚrb©Ú_i_opened_the_fileÚ isinstanceÚstrÚbuiltinsrrar@©r6Úfs rr:zWave_read.__init__sX€Ø"&ˆÔÜ �aœÔ Ü— ‘ ˜a Ó&ˆAØ&'ˆDÔ #ð Ø �K‰K˜�Nøð Ø×&Ò&Ø—‘” Ø úó ¶AÁA'có$—|j«y©N©r@r<s rÚ__del__zWave_read.__del__$ó €Ø � ‰ � r có—|Srmr r<s rÚ __enter__zWave_read.__enter__'ó€Øˆ r có$—|j«yrmrn©r6Úargss rÚ__exit__zWave_read.__exit__*rpr có—|jSrm)rYr<s rÚgetfpzWave_read.getfp0s €Ø�z‰zÐr có —d|_d|_y)Nrr)r\rXr<s rÚrewindzWave_read.rewind3s€Ø!"ˆÔ؈�r có^—d|_|j}|rd|_|j«yyrm)rYrer@©r6r(s rr@zWave_read.close7s-€ØˆŒ Ø×&Ñ&ˆÙ Ø&*ˆDÔ #Ø �J‰J�Lð r có—|jSrm)rXr<s rr1zWave_read.tell>ó €Ø�~‰~Ðr có—|jSrm)Ú _nchannelsr<s rÚ getnchannelszWave_read.getnchannelsAó €Ø�‰Ðr có—|jSrm)r_r<s rÚ getnframeszWave_read.getnframesDs €Ø�}‰}Ðr có—|jSrm)Ú _sampwidthr<s rÚ getsampwidthzWave_read.getsampwidthGrƒr có—|jSrm)Ú _framerater<s rÚ getframeratezWave_read.getframerateJrƒr có—|jSrm©Ú _comptyper<s rÚ getcomptypezWave_read.getcomptypeMrr có—|jSrm©Ú _compnamer<s rÚ getcompnamezWave_read.getcompnamePrr c óÊ—t|j«|j«|j«|j «|j «|j ««Srm)rr‚rˆr‹r…r�r“r<s rÚ getparamszWave_read.getparamsSsQ€Ü˜D×-Ñ-Ó/°×1BÑ1BÓ1DØ×(Ñ(Ó*¨D¯O©OÓ,=Ø×'Ñ'Ó)¨4×+;Ñ+;Ó+=ó?ð ?r có—yrmr r<s rÚ getmarkerszWave_read.getmarkersXó€Ør có—td«‚©Nzno marks©r©r6Úids rÚgetmarkzWave_read.getmark[ó €Ü�JÓÐr có^—|dks||jkDr td«‚||_d|_y)Nrzposition not in ranger)r_rrXr\)r6rGs rÚsetposzWave_read.setpos^s/€Ø �Š7�c˜DŸM™MÒ)ÜÐ/Ó0Ð 0؈ŒØ!"ˆÕr cóJ—|jrZ|jjdd«|j|jz}|r|jj|d«d|_|dk(ry|jj ||jz«}|j dk7r)tjdk(rt||j «}|jr|r|j|«}|jt|«|j|j zzz|_|S)Nrr rÚbig) r\r[rFrXr^r)r‡ÚsysÚ byteorderrrWrr�)r6ÚnframesrGrs rÚ readframeszWave_read.readframesdsæ€Ø × !Ò !Ø × Ñ × !Ñ ! ! QÔ 'Ø—.‘. 4§?¡?Ñ2ˆCÙØ× Ñ ×%Ñ% c¨1Ô-Ø%&ˆDÔ "Ø �aŠ<ØØ×Ñ×$Ñ$ W¨t¯©Ñ%>Ó?ˆØ �?‰?˜aÒ ¤C§M¡M°UÒ$:ܘT 4§?¡?Ó3ˆDØ �=Š=™TØ—=‘= Ó&ˆDØŸ™¬#¨d«)¸¿¹È$Ï/É/Ñ8YÑ*ZÑZˆŒØˆ r cóÈ— tjd|jd««\}|_|_}}|tk7r|tk7rtd|›�«‚ tjd|jd««d}|tk(r~ tjd|jd««\}}}|jd «} t| «d krt ‚ | tk7r% ddl } d | j| ¬ «›�} t| «‚|d zdz|_|js td«‚|js td«‚|j|jz|_d|_d|_y#tj $rt d‚wxYw#tj $rt d‚wxYw#tj $rt d‚wxYw#t$rd } Yt| «‚wxYw)Nz BÒ&Ü"�Nð'ðÔ4Ò4ð>ÛØ&?ÀÇ Á ÐS\À Ó@]Ð?^Ð$_�Mô˜MÓ*Ð*Ø$ q™=¨QÑ.ˆŒØ�ŠÜÐ*Ó+Ð +Ø�ŠÜÐ+Ó,Ð ,ØŸ/™/¨D¯O©OÑ;ˆŒØˆŒØ)ˆ�øô?�|‰|ò %Ü Ð $ð %ûô �|‰|ò %Ü Ð $ð %ûô—<‘<ò )Ü DÐ(ð )ûô !ò>Ø$=‘MܘMÓ*Ð*ð>ús6‚5E/Á(F  AF+Ã#G Å/F Æ F(Æ+GÇ G!Ç G!N)r r r Ú__doc__rar:rorrrwryr{r@r1r‚r…rˆr‹r�r“r•r—ržr¡r§r]r r rrrÙsp„ñò<?ò> òòòò òòòòòòòòòò?ò ò ò#ò ó*"*r rcó¸—eZdZdZd„Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z d „Z d „Z d „Zd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zy)ra¿Variables used in this class: These variables are user settable through appropriate methods of this class: _file -- the open file with methods write(), close(), tell(), seek() set through the __init__() method _comptype -- the AIFF-C compression type ('NONE' in AIFF) set through the setcomptype() or setparams() method _compname -- the human-readable AIFF-C compression type set through the setcomptype() or setparams() method _nchannels -- the number of audio channels set through the setnchannels() or setparams() method _sampwidth -- the number of bytes per audio sample set through the setsampwidth() or setparams() method _framerate -- the sampling frequency set through the setframerate() or setparams() method _nframes -- the number of audio frames written to the header set through the setnframes() or setparams() method These variables are used internally only: _datalength -- the size of the audio samples written to the header _nframeswritten -- the number of frames actually written _datawritten -- the size of the audio samples actually written cóÔ—d|_t|t«rtj|d«}||_ |j |«y#|jr|j «‚xYw)NÚwbrdris rr:zWave_write.__init__¸sX€Ø"&ˆÔÜ �aœÔ Ü— ‘ ˜a Ó&ˆAØ&'ˆDÔ #ð Ø �K‰K˜�Nøð Ø×&Ò&Ø—‘” Ø úrkcó�—||_d|_d|_d|_d|_d|_d|_d|_d|_d|_ y)NrF) rYrWr�r‡rŠr_Ú_nframeswrittenÚ _datawrittenÚ _datalengthÚ_headerwrittenr}s rrazWave_write.initfpÄsL€ØˆŒ ؈Œ ؈ŒØˆŒØˆŒØˆŒ Ø ˆÔØˆÔØˆÔØ#ˆÕr có$—|j«yrmrnr<s rrozWave_write.__del__Ðrpr có—|Srmr r<s rrrzWave_write.__enter__Órsr có$—|j«yrmrnrus rrwzWave_write.__exit__Örpr có`—|jr td«‚|dkr td«‚||_y)Nú0cannot change parameters after starting to writerr®)rÅrr�)r6Ú nchannelss rÚ setnchannelszWave_write.setnchannelsÜs1€Ø × Ò ÜÐJÓKÐ KØ �qŠ=ÜÐ+Ó,Ð ,Ø#ˆ�r cóH—|js td«‚|jS)Nznumber of channels not set)r�rr<s rr‚zWave_write.getnchannelsãs€Ø�ŠÜÐ4Ó5Ð 5Ø�‰Ðr cój—|jr td«‚|dks|dkDr td«‚||_y)NrÌrr#r­)rÅrr‡)r6r¹s rÚ setsampwidthzWave_write.setsampwidthès7€Ø × Ò ÜÐJÓKÐ KØ �qŠ=˜I¨šMÜÐ*Ó+Ð +Ø#ˆ�r cóH—|js td«‚|jS)Nzsample width not set)r‡rr<s rrˆzWave_write.getsampwidthïs€Ø�ŠÜÐ.Ó/Ð /Ø�‰Ðr có„—|jr td«‚|dkr td«‚tt|««|_y)NrÌrzbad frame rate)rÅrÚintÚroundrŠ)r6Ú framerates rÚ setframeratezWave_write.setframerateôs;€Ø × Ò ÜÐJÓKÐ KØ ˜Š>ÜÐ(Ó)Ð )Üœe IÓ.Ó/ˆ�r cóH—|js td«‚|jS)Nzframe rate not set)rŠrr<s rr‹zWave_write.getframerateûs€Ø�ŠÜÐ,Ó-Ð -Ø�‰Ðr có@—|jr td«‚||_y©NrÌ)rÅrr_)r6r¦s rÚ setnframeszWave_write.setnframess€Ø × Ò ÜÐJÓKÐ K؈� r có—|jSrm©rÄr<s rr…zWave_write.getnframesó€Ø×#Ñ#Ð#r cól—|jr td«‚|dvr td«‚||_||_y)NrÌ)r¯zunsupported compression type)rÅrrŽr’)r6ÚcomptypeÚcompnames rÚ setcomptypezWave_write.setcomptypes9€Ø × Ò ÜÐJÓKÐ KØ ˜9Ñ $ÜÐ6Ó7Ð 7Ø!ˆŒØ!ˆ�r có—|jSrmr�r<s rr�zWave_write.getcomptyperr có—|jSrmr‘r<s rr“zWave_write.getcompnamerr cóð—|\}}}}}}|jr td«‚|j|«|j|«|j |«|j |«|j ||«yrÚ)rÅrrÎrÑr×rÛrâ)r6ÚparamsrÍr¹rÖr¦ràrás rÚ setparamszWave_write.setparamsso€ØGMÑDˆ �9˜i¨°(¸HØ × Ò ÜÐJÓKÐ KØ ×ј)Ô$Ø ×ј)Ô$Ø ×ј)Ô$Ø �‰˜Ô Ø ×ј 8Õ,r cóø—|jr|jr |js td«‚t |j|j|j|j |j |j«S)Nznot all parameters set)r�r‡rŠrrr_rŽr’r<s rr•zWave_write.getparams sS€Ø�Š d§o¢o¸T¿_º_ÜÐ0Ó1Ð 1ܘDŸO™O¨T¯_©_¸d¿o¹oØ�m‰m˜TŸ^™^¨T¯^©^ó=ð =r có—td«‚)Nzsetmark() not supportedr›)r6r�rGÚnames rÚsetmarkzWave_write.setmark&s€ÜÐ-Ó.Ð.r có—td«‚ršr›rœs rržzWave_write.getmark)rŸr có—yrmr r<s rr—zWave_write.getmarkers,r˜r có—|jSrmrÝr<s rr1zWave_write.tell/rÞr có&—t|ttf«st|«j d«}|j t |««t |«|j|jzz}|jr|j|«}|jdk7r)tjdk(rt||j«}|jj|«|xjt |«z c_|j |z|_y)NÚBrr£)rfrrÚ memoryviewÚcastÚ_ensure_header_writtenrr‡r�rWr¤r¥rrYÚwriterÅrÄ)r6rr¦s rÚwriteframesrawzWave_write.writeframesraw2sɀܘ$¤¬ Ð 2Ô3ܘdÓ#×(Ñ(¨Ó-ˆDØ ×#Ñ#¤C¨£IÔ.Ü�d“) §¡°$·/±/Ñ AÑBˆØ �=Š=Ø—=‘= Ó&ˆDØ �?‰?˜aÒ ¤C§M¡M°UÒ$:ܘT 4§?¡?Ó3ˆDØ � ‰ ×Ñ˜ÔØ ×ÒœS ›YÑ&ÕØ#×3Ñ3°gÑ=ˆÕr cóz—|j|«|j|jk7r|j«yyrm)rõrÆrÅÚ _patchheader)r6rs rÚ writeframeszWave_write.writeframes?s5€Ø ×јDÔ!Ø × Ñ ˜t×0Ñ0Ò 0Ø × Ñ Õ ð 1r có„— |jrT|jd«|j|jk7r|j «|jj «d|_|j }|rd|_|j«yy#d|_|j }|rd|_|j«wwxYw)Nr)rYrórÆrÅr÷Úflushrer@r}s rr@zWave_write.closeDs¦€ð Ø�zŠzØ×+Ñ+¨AÔ.Ø×#Ñ# t×'8Ñ'8Ò8Ø×%Ñ%Ô'Ø— ‘ × Ñ Ô"àˆDŒJØ×*Ñ*ˆDÙØ*.�Ô'Ø— ‘ • ðøðˆDŒJØ×*Ñ*ˆDÙØ*.�Ô'Ø— ‘ • ðús ‚A BÂ/B?cóÊ—|jsW|js td«‚|js td«‚|js td«‚|j |«yy)Nz# channels not specifiedzsample width not specifiedzsampling rate not specified)rÇr�rr‡rŠÚ _write_header)r6Údatasizes rróz!Wave_write._ensure_header_writtenVsW€Ø×"Ò"Ø—?’?ÜÐ6Ó7Ð7Ø—?’?ÜÐ8Ó9Ð9Ø—?’?ÜÐ9Ó:Ð:Ø × Ñ ˜xÕ (ð#r có¢—|jrJ‚|jjd«|js!||j|j zz|_|j|jz|j z|_ |jj«|_|jjtjdd|j zdddt|j|j|j|jz|j z|j|j z|j dzd« «|j�|jj«|_|jjtjd |j ««d |_y#ttf$r d|_Y�Œ+wxYw) NrSzØ � ‰ �‰˜ Ô"Ø×,Ñ,ˆÕr N) r r r r¿r:rarorrrwrÎr‚rÑrˆr×r‹rÛr…râr�r“rçr•rëržr—r1rõrør@rórür÷r r rrržs“„ñò2 ò $òòòò $òò $òò 0òò  ò $ò"òòò-ò=ò /ò òò$ò >ò ò ò$)ò#ó* -r rcóŽ—|€t|d«r |j}nd}|dvr t|«S|dvr t|«St d«‚)NÚmoderc)Úrrc)ÚwrÂz$mode must be 'r', 'rb', 'w', or 'wb')Úhasattrrrrr)rjrs rrr‚sO€Ø €|Ü �1�fÔ Ø—6‘6‰DàˆDØ ˆ{Ñܘ‹|ÐØ �Ñ Ü˜!‹}ÐäÐ:Ó;Ð;r rm)r¿Ú collectionsrrhr,r¤Ú__all__rµrr°r±r²Ú _array_fmtsrrrrrrr r rÚrs†ðñGõR#ÛÛ Û ò 7€ô ˆIô ð€ØÐàXÐà'€ á˜.ØNóP€ ò÷lñl÷^B*ñB*÷Ja-ña-ôH