Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #30643

Re: parse an environment file

Newsgroups comp.lang.python
Date 2012-10-02 09:16 -0700
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>
Subject Re: parse an environment file
From Ramchandra Apte <maniandram01@gmail.com>
Message-ID <mailman.1731.1349194573.27098.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: parse an environment file Jason Friedman <jason@powerpull.net> - 2012-10-01 08:12 -0600
  Re: parse an environment file Hans Mulder <hansmu@xs4all.nl> - 2012-10-01 17:35 +0200
    Re: parse an environment file xDog Walker <thudfoo@gmail.com> - 2012-10-02 09:03 -0700
      Re: parse an environment file Ramchandra Apte <maniandram01@gmail.com> - 2012-10-02 09:16 -0700
      Re: parse an environment file Ramchandra Apte <maniandram01@gmail.com> - 2012-10-02 09:16 -0700

csiph-web