Re: import subprocess in python

2009-11-16 Thread Nobody
On Mon, 16 Nov 2009 04:58:00 -0800, sturlamolden wrote: > On 16 Nov, 13:50, Kuhl wrote: > >> Python 2.2.3 (#1, Feb  2 2005, 12:22:48) > >> What's the mistake that I am making? How to solve it? > > Your Python version is too old. Your Python version is *way* too old. If you're lucky, people w

Re: import subprocess in python

2009-11-16 Thread Chris Rebert
On Mon, Nov 16, 2009 at 4:50 AM, Kuhl wrote: > found in my system, so I have to use python instead. However, "import > subprocess" still failed, see below. > > # which python > /usr/bin/python > # which ipython > ipython: Command not found. > # python > Python 2.2.3 (#1, Feb  2 2005, 12:22:48) >

Re: import subprocess in python

2009-11-16 Thread sturlamolden
On 16 Nov, 13:50, Kuhl wrote: > Python 2.2.3 (#1, Feb  2 2005, 12:22:48) > What's the mistake that I am making? How to solve it? Your Python version is too old. -- http://mail.python.org/mailman/listinfo/python-list

import subprocess in python

2009-11-16 Thread Kuhl
I am a Linux user beginning to learn Python now. Below is the first Python script that I copied from the text book. It works, so it confirmed that there is python installed in my system: #!/usr/bin/env python for a in [1, 2]: for b in ['a', 'b']: print a, b But when I co