Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 107

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 234

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 235

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 236

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 237

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 238

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 239
U i_Y;@sddlZddlZddlZddlZddlZddlZddlmZddl m Z ddl m Z ddlZddlmZdZejdkr|dZndZGdd d Zd d Zed krdd lmZeddddddlmZeedS)N) askstring)idleConfutf-8win32 surrogatepasssurrogateescapec@seZdZddZddZddZddZd d Zd Zd d Z d Z d Z ddZ d1ddZ ejZddZddZddZddZddZddZddZd d!Zd"d#Zd Zd Zd$Zejd%krd&nd'Zd(d)Z d2d+d,Z!d-d.Z"d/d0Z#d S)3 IOBindingcCsr||_|j|_|jd|j|_|jd|j|_|jd|j|_|jd|j |_ d|_ |jd|j |_ dS)N<><><><>r<>)editwintextbindopen_IOBinding__id_opensave_IOBinding__id_savesave_as_IOBinding__id_saveas save_a_copy_IOBinding__id_savecopy fileencoding print_window_IOBinding__id_print)selfrr-/opt/python38/lib/python3.8/idlelib/iomenu.py__init__szIOBinding.__init__cCsf|jd|j|jd|j|jd|j|jd|j|jd|jd|_d|_d|_dS)Nr r r r r ) rZunbindrrrrrrfilename_change_hookrrrrclose(szIOBinding.closecCs |jSN)r get_savedr!rrrr$4szIOBinding.get_savedcCs|j|dSr#)r set_savedrflagrrrr%7szIOBinding.set_savedcCs|jdSr#)r reset_undor!rrrr(:szIOBinding.reset_undoNcCs ||_dSr#)r )rhookrrrset_filename_change_hook?sz"IOBinding.set_filename_change_hookcCsF|rtj|rd|_||_n$||_d|_|d|jrB|dS)N)ospathisdirfilenamedirnamer%r rr/rrr set_filenameEs zIOBinding.set_filenamecCs|jj}|rt|s|}n|}|r`|jrTt|jddsT|jsT|rT|||jqp||n|jrp|j dS|r| }|dkr|j dS|s|}n|}|r||n |j dS)Ninterpbreakcancel) rflist askopenfilegetattrr/r$rloadfiler focus_set maybesave)reventZeditFiler6r/replyrrrrPs<        zIOBinding.openc Cszz2t|}|}|j}|j}d}W5QRXWnhttfk r|jj t ddd|jjd}t||d}|}|j}|j}d}W5QRXYnXWnjt k r}z t j dt||jd WYdSd}~XYn.tk r t j d d ||jd YdSX|jd d |d||_||_|jd |||||r`|d|jdd |jd||dS)NFzSpecify file encodingzwThe file's encoding is invalid for Python 3.x. IDLE will convert it to UTF-8. What is the current encoding of the file?r)Z initialvalueparent)encodingT I/O Errorr>zDecoding ErrorzFile %s Failed to Decode1.0endinsert)tokenizerreadr?newlinesUnicodeDecodeError SyntaxErrorrrupdaterOSError tkMessageBox showerrorstrdeleter2reol_conventionrDr(r%Zmark_setZyviewupdaterecentfileslist) rr/fcharsrrPZ convertedencerrrrrr9~sT       zIOBinding.loadfilecCsp|r dSd|jpd}tjd|tj|jd}|rPd}|d|sbd}n|dkr^d}nd}|j|S)NZyesz&Do you want to save %s before closing?zthis untitled documentz Save On Closetitlemessagedefaultr>r5no)r$r/rLZaskyesnocancelZYESrrr:)rrXconfirmr=rrrr;s*  zIOBinding.maybesavecCsZ|js||n:||jrL|dz|jWntk rJYnX|jdS)NTr4) r/r writefiler%rstore_file_breaksAttributeErrorrr:rr<rrrrs    zIOBinding.savecCsf|}|rN||rN|||dz|jWntk rLYnX|j| |dS)Nr+r4) asksavefiler\r2r%rr]r^rr:rQrr<r/rrrrs     zIOBinding.save_ascCs.|}|r|||j||dS)Nr4)r`r\rr:rQrarrrrs    zIOBinding.save_a_copyc Cs|}||}z|j}|rJ|dkrtjdd\}}|}t || |st |dSt j }d}|dkrtd d d } | d } n|d krtd d d} nd}|r6| t|} t | d} | } | } | r d| | } | rPdt| | } tjd| |jdnd|} tjd| |jd|r`t |dS)NZPrintzPrint to Default PrinterrVr4Z IDLE_tmp_)prefixTposixmainZGeneralzprint-command-posixz 2>&1ntzprint-command-winFrz#Printing failed (exit status 0x%x) zPrinting command: %s z Print statusrAz-Printing is not enabled for this platform: %s)rLZ askokcancelZOKrr:r$r/tempfilemkstempr,r"r\unlinknamerZ GetOptionshlexquotepopenrFstripreprrMZshowinfo)rr<r[Z tempfilenameZsavedr/ZtfdplatformZ printPlatformZcommandpipeoutputstatusrXrrrrsb         zIOBinding.print_window))z Python filesz *.py *.pywTEXT)z Text filesz*.txtr)z All files*darwinz.pycCs<|d\}}|js(tj|j|jd|_|jj||d}|S)Nr)r> filetypesZ initialdirZ initialfile)defaultfilename opendialog tkFileDialogZOpenrrshowrdirbaser/rrrr7[szIOBinding.askopenfilercCsV|jrtj|jS|jr$|jdfSz t}Wntk rHd}YnX|dfSdS)Nr)r/r,r-splitr0getcwdrK)rmodepwdrrrrcs   zIOBinding.defaultfilenamecCs@|d\}}|js,tj|j|j|jd|_|jj||d}|S)Nr)r>rdefaultextensionr)r savedialogrZSaveAsrrrrrrrrr`oszIOBinding.asksavefilecCs|jjr|j|dS)z-Update recent file list on all editor windowsN)rr6Zupdate_recent_files_listr1rrrrQyszIOBinding.updaterecentfileslist)NN)r)$__name__ __module__ __qualname__rr"r$r%r(r r*r/r0r2rr,lineseprPr9r;rrrr\rcrdrrrrsysrrr7rr`rQrrrrrs:   ,0  2  rc Csddlm}m}||}|dtt|ddd\}}|d||dfGdd d }||}|| ||}t |dS) Nr)ToplevelTextzTest IOBinding+r+z+%d+%dc@sTeZdZddZddZddZddZd d Zd d Zd dZ ddZ ddZ dS)z_io_binding..MyEditWincSs`||_d|_|jd|j|jd|j|jd|j|jd|j|jd|jdS)Nz z z zz )rr6rrprintrsaveassavecopyrnrrrrsz'_io_binding..MyEditWin.__init__cSsdS)Nrrr!rrrr$z(_io_binding..MyEditWin.get_savedcSsdSr#rr&rrrr%rz(_io_binding..MyEditWin.set_savedcSsdSr#rr!rrrr(rz)_io_binding..MyEditWin.reset_undocSs|jddS)Nr rZevent_generater_rrrrsz#_io_binding..MyEditWin.opencSs|jddS)Nr rr_rrrrsz$_io_binding..MyEditWin.printcSs|jddS)Nr rr_rrrrsz#_io_binding..MyEditWin.savecSs|jddS)Nr rr_rrrrsz%_io_binding..MyEditWin.saveascSs|jddS)Nr rr_rrrrsz'_io_binding..MyEditWin.savecopyN) rrrrr$r%r(rrrrrrrrr MyEditWinsr) tkinterrrrWmapintZgeometryrpackr:r) r>rrrootxyrrrrrr _io_binding~s  r__main__)r{zidlelib.idle_test.test_iomenuF) verbosityexit)run)rtr,rrr~rEZtkinter.filedialogZ filedialogrZtkinter.messageboxZ messageboxrLZtkinter.simpledialogrZidlelibZidlelib.configrr?rerrorsrrrZunittestr{Zidlelib.idle_test.htestrrrrrs.     i$