Re: Popen: NameError: name 'PIPE' is not defined

2008-05-24 Thread Jack Yu
On Sat, 24 May 2008 14:09:07 +0200,Mathieu Prevot wrote:

> Hi
> 
> I import subprocess and use Popen, but PIPE is not defined. I used
> 2.5.1, 2.5.2, Python 2.6a3+ (trunk:63576, May 24 2008, 12:13:40), it's
> always the same. What am I missing ?
> 
> Thanks
> Mathieu

Try subprocess.PIPE.
--
http://mail.python.org/mailman/listinfo/python-list

psd estimation no matplotlib

2011-02-05 Thread Jack Yu
Hi all,
Is there a function psd() for estimating power spectral density that is not
dependent on the importing of matplotlib or pylab, like there is
numpy.linalg.svd() to pylab.svd().  I would like to run some codes which
estimate psd on the computing nodes on a cluster, but the system
administrator says that it is impractical to install matplotlib on all of
them, because it requires X window, which takes up a lot of memory, which
the computing nodes do not have.  Thanks for any help in advance.

Cheers,

Jack
-- 
http://mail.python.org/mailman/listinfo/python-list