Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion parse an environment file

Received: by 10.66.89.162 with SMTP id bp2mr3156451pab.4.1349571489995;
        Sat, 06 Oct 2012 17:58:09 -0700 (PDT)
Path: g9ni29660pbh.1!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!news.mi.ras.ru!goblin-spool!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path: <maniandra...@gmail.com>
X-Original-To: python-l...@python.org
Delivered-To: python-l...@mail.python.org
X-Spam-Status: OK 0.007
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:file': 0.07;
	'python': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-
	list': 0.10; 'syntax.': 0.16; 'wrote:': 0.17; 'shell': 0.18;
	'module': 0.19; 'cc:2**0': 0.23; 'split': 0.23; 'cc:no real
	name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-
	To:1': 0.25; 'header:User-Agent:1': 0.26; 'module.': 0.27; 'code':
	0.31; 'received:google.com': 0.34; 'received:209.85': 0.35;
	'there': 0.35; 'monday': 0.37; 'october': 0.37; 'received:209':
	0.37; 'received:209.85.216': 0.37; 'subject:: ': 0.38
Newsgroups: comp.lang.python
Date: Tue, 2 Oct 2012 09:16:09 -0700 (PDT)
In-Reply-To: <mailman.1729.1349193842.27098.python-list@python.org>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=122.167.226.83;
	posting-account=uPFZNQoAAAAm9w7z13q1SjWNKNjztdcD
References: <CANy1k1i7XA3pTGeZeWk8V4osPkRoWxkSQJehhix9nHzDzO3HTg@mail.gmail.com>
	<mailman.1703.1349100773.27098.python-list@python.org>
	<5069b829$0$6949$e4fe514c@news2.news.xs4all.nl>
	<mailman.1729.1349193842.27098.python-list@python.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Subject: Re: parse an environment file
From: Ramchandra Apte <maniandra...@gmail.com>
To: comp.lang.python@googlegroups.com
Cc: python-l...@python.org
X-BeenThere: python-l...@python.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: General discussion list for the Python programming language
	<python-list.python.org>
List-Unsubscribe: <http://mail.python.org/mailman/options/python-list>,
	<mailto:python-list-requ...@python.org?subject=unsubscribe>
List-Archive: <http://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-l...@python.org>
List-Help: <mailto:python-list-requ...@python.org?subject=help>
List-Subscribe: <http://mail.python.org/mailman/listinfo/python-list>,
	<mailto:python-list-requ...@python.org?subject=subscribe>
Message-ID: <mailman.1731.1349194573.27098.python-l...@python.org>
Lines: 18
NNTP-Posting-Host: 2001:888:2000:d::a6
X-Trace: 1349194573 news.xs4all.nl 6909 [2001:888:2000:d::a6]:43721
X-Complaints-To: ab...@xs4all.nl
Bytes: 3086
X-Received-Bytes: 3194
Content-Type: text/plain; charset=ISO-8859-1

On Tuesday, 2 October 2012 21:34:04 UTC+5:30, xDog Walker  wrote:
> On Monday 2012 October 01 08:35, Hans Mulder wrote:
> 
> > AFAIK, there is no Python module that can read shell syntax.
> 
> 
> 
> The stdlib's shlex might be that module.
> 
> 
> 
> -- 
> 
> Yonder nor sorghum stenches shut ladle gulls stopper torque wet 
> 
> strainers.

shlex can only split shell code into tokens.