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_M"@sdZddlZddlZddlZddlmZddlmZddl m Z ddl m Z ddl m Z ddl mZdZGd d d Zed krdd lmZed dddS)aExecute code from an editor. Check module: do a full syntax check of the current module. Also run the tabnanny to catch any inconsistent tabs. Run module: also execute the module's code in the __main__ namespace. The window must have been saved previously. The module is added to sys.modules, and is also added to the __main__ namespace. TODO: Specify command line arguments in a dialog box. N)idleConf)macosx)pyshell) CustomRun)outwina/Error: Inconsistent indentation detected! 1) Your indentation is outright incorrect (easy to fix), OR 2) Your indentation mixes tabs and spaces. To fix case 2, change all tabs to spaces by using Edit->Select All followed by Format->Untabify Region and specify the number of columns used by each tab. c@sbeZdZddZddZddZddZd d Zd d Zd dddZ ddZ ddZ ddZ dS) ScriptBindingcCs>||_|jj|_|jj|_g|_tr:|jjd|jdSNz<>) editwinflistrootcli_argsr isCocoaTk text_framebind_run_module_event)selfr r0/opt/python38/lib/python3.8/idlelib/runscript.py__init__%s   zScriptBinding.__init__cCsNt|jtjr|jjdS|}|s.dS||s|j\}\}}|j || dd|WYW5QRdSd}~XYnPtj k r}z0|j | | dt WYW5QRdSd}~XYnXW5QRXdS)NzTabnanny Tokenizing ErrorzToken Error: %sFzTab/space errorT)tokenizeopenrZprocess_tokensgenerate_tokensreadline TokenErrorargsr ZgotolineerrorboxZNannyNagZ get_linenoindent_message)rrfmsgZmsgtxtlinenostartZnagrrrr>s    ,zScriptBinding.tabnannyc Csl|j|_}|}||jt|d}|}W5QRXd|krb|dd}|dd}|r~|dt dkr~|d}|j }|j }| dddzzt ||d WWStttfk rV}zt|d d p|pd } t|d d pd} t|dd pd} | dkr | d7} d| d| df} ||| |dd| WYWdSd}~XYnXW5||XdS)Nrb s  ERRORz1.0endexecr)zr*offsetrz0.0 + %d lines + %d chars SyntaxErrorz%-20sF)r Z open_shellshellZget_warning_streamZset_warning_streamstderrr!readreplaceordr rZ tag_removecompiler6 OverflowError ValueErrorgetattrZcolorize_syntax_errorr&) rrr7Z saved_streamr(sourcer rvaluer)r*r5posrrrrPs4       zScriptBinding.checksyntaxcs2tr$jjdfdddS|SdS)NcsjjdSr)r rZevent_generaterrrrvsz0ScriptBinding.run_module_event..r)rr r rZafterrrrrrDrrun_module_eventns   zScriptBinding.run_module_eventcCs|j|ddS)NT customize)rrFrrrrun_custom_event|szScriptBinding.run_custom_eventFrHc Cst|jtjr|jjdS|}|s.dS||}|s@dS||sNdS|rd|j d}t |j j||j dj }|sdS|r|ngdf\|_ }|j j}tjr|r|jd|dtj|} |g} |j r| |j 7} |d|d | d | d ||||dS) ayRun the module after setting up the environment. First check the syntax. Next get customization. If OK, make sure the shell is active and then transfer the arguments, set the run environment's working directory to the directory of the module being executed and also add that directory to its sys.path if not already included. rz Customize z Run)r TF)Zwith_cwdrzif 1: __file__ = zi import sys as _sys from os.path import basename as _basename argv = z if (not _sys.argv or _basename(_sys.argv[0]) != _basename(__file__) or len(argv) > 1): _sys.argv = argv import os as _os _os.chdir(z:) del _sys, argv, _basename, _os )rr rrrrrrrZ short_titlerr7r resultinterprZuse_subprocessZrestart_subprocessospathdirnameZ runcommandZprepend_syspathZruncode) rrrIrcodetitleZrun_argsZrestartrLrOargvrrrrsB          zScriptBinding._run_module_eventcCsx|jjj}|jsttjddddd}|r>|r>|jjdn6|}|jj |rp|jjd|jjj}nd}|S)aGet source filename. If not saved, offer to save (or create) file The debugger requires a source file. Make sure there is one, and that the current version of the source buffer has been saved. If the user declines to save or cancels the Save As dialog, return None. If the user has configured IDLE for Autosave, the file will be silently saved if it already exists and is dirty. mainZGeneralautosavebool)typeN) r iorZ get_savedrZ GetOptionsaveask_save_dialogr focus_set)rrrTconfirmrrrrs    zScriptBinding.getfilenamecCs d}tjd|tj|jjd}|S)Nz%Source Must Be Saved OK to Save?zSave Before Run or Check)rQmessagedefaultparent) tkMessageBoxZ askokcancelZOKr r)rr)r[rrrrYszScriptBinding.ask_save_dialogcCs$tj|||jjd|jjdS)N)r^)r_Z showerrorr rrZ)rrQr\rrrr&szScriptBinding.errorboxN) __name__ __module__ __qualname__rrrrrGrJrrrYr&rrrrr#s  7r__main__)rSz idlelib.idle_test.test_runscript) verbosity)__doc__rMrr Ztkinter.messageboxZ messageboxr_Zidlelib.configrZidlelibrrZ idlelib.queryrrr'rr`ZunittestrSrrrrs        =