?¡ëPNG
IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À?¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
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/user1137782/www/china1.by/classwithtostring.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
usr/lib64/python2.6/commands.pyo 0000666 00000004671 15050066076 0012417 0 ustar 00 Ñò
§ÚêLc @ sF d Z d d d g Z d „ Z d „ Z d „ Z d „ Z d „ Z d S(
s- Execute shell commands via os.popen() and return status, output.
Interface summary:
import commands
outtext = commands.getoutput(cmd)
(exitstatus, outtext) = commands.getstatusoutput(cmd)
outtext = commands.getstatus(file) # returns output of "ls -ld file"
A trailing newline is removed from the output string.
Encapsulates the basic operation:
pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')
text = pipe.read()
sts = pipe.close()
[Note: it would be nice to add functions to interpret the exit status.]
t getstatusoutputt getoutputt getstatusc C s3 d d k } | i d t d ƒ t d t | ƒ ƒ S( s- Return output of "ls -ld " in a string.iÿÿÿÿNs" commands.getstatus() is deprecatedi s ls -ld( t warningst warnt DeprecationWarningR t mkarg( t fileR ( ( s /usr/lib64/python2.6/commands.pyR ! s c C s t | ƒ d S( s= Return output (stdout or stderr) of executing cmd in a shell.i ( R ( t cmd( ( s /usr/lib64/python2.6/commands.pyR , s c C s~ d d k } | i d | d d ƒ } | i ƒ } | i ƒ } | d j o
d } n | d d j o | d } n | | f S( s4 Return (status, output) of executing cmd in a shell.iÿÿÿÿNs { s ; } 2>&1t ri s
( t ost popent readt closet None( R R
t pipet textt sts( ( s /usr/lib64/python2.6/commands.pyR 4 s
c C s? d d k l } | d ƒ d d k } t | i i | | ƒ ƒ S( Niÿÿÿÿ( t warnpy3ks In 3.x, mk2arg has been removed.( R R R
R t patht join( t headt xR R
( ( s /usr/lib64/python2.6/commands.pyt mk2argA s
c C s~ d d k l } | d ƒ d | j o
d | d Sd } x3 | D]+ } | d j o | d } n | | } qA W| d } | S(
Niÿÿÿÿ( R s in 3.x, mkarg has been removed.s 's 's "s \$"`s \t "( R R ( R R t st c( ( s /usr/lib64/python2.6/commands.pyR O s
N( t __doc__t __all__R R R R R ( ( ( s /usr/lib64/python2.6/commands.pyt s