summary refs log blame commit diff stats
path: root/doc/pydoc/test.html
blob: 068b2ab2a1845150bf1629cb123ed116abe09777 (plain) (tree)


















                                                                                                                                                                                                 

                                                                                                                                        
                                                         

                                                                                     


                                                                               
                                     
                                                                       





                                                                                               
                                                                                                                                                                                                                                                                                                                  
             
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: package test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>test</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/work/ranger/test/__init__.py">/home/hut/work/ranger/test/__init__.py</a></font></td></tr></table>
    <p></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="test.tc_bookmarks.html">tc_bookmarks</a><br>
<a href="test.tc_colorscheme.html">tc_colorscheme</a><br>
<a href="test.tc_commandlist.html">tc_commandlist</a><br>
</td><td width="25%" valign=top><a href="test.tc_directory.html">tc_directory</a><br>
<a href="test.tc_displayable.html">tc_displayable</a><br>
<a href="test.tc_history.html">tc_history</a><br>
</td><td width="25%" valign=top><a href="test.tc_keyapi.html">tc_keyapi</a><br>
<a href="test.tc_ui.html">tc_ui</a><br>
<a href="test.test.html">test</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>__all__</strong> = ['tc_commandlist', 'tc_history', 'tc_directory', 'tc_ui', 'tc_commandlist', 'tc_bookmarks', 'tc_history', 'tc_keyapi', 'tc_ui', 'tc_displayable', 'tc_keyapi', 'tc_colorscheme', 'tc_bookmarks', 'tc_directory', 'tc_colorscheme', 'tc_displayable']</td></tr></table>
</body></html>
ss="n">popenargs, stderr=fd_devnull, **kwargs) stdout, _ = process.communicate() if process.returncode != 0: error = CalledProcessError(process.returncode, popenargs) error.output = stdout raise error if do_decode and stdout is not None: stdout = stdout.decode(ENCODING) return stdout def spawn(*popenargs, **kwargs): """Runs a program, waits for its termination and returns its stdout This function is similar to python 2.7's subprocess.check_output, but is favored due to python 2.6 compatibility. The arguments may be: spawn(string) spawn(command, arg1, arg2...) spawn([command, arg1, arg2]) Will be run through a shell if `popenargs` is a string, otherwise the command is executed directly. The keyword argument `decode` determines if the output shall be decoded with the encoding UTF-8. Further keyword arguments are passed to Popen. """ if len(popenargs) == 1: return check_output(popenargs[0], **kwargs) return check_output(list(popenargs), **kwargs)