Re: Manipulating Python Source

2008-08-13 Thread Wilson
On 12 Aug, 15:53, Bruno Desthuilliers wrote: > Kay Schluehr a écrit :> On 12 Aug., 16:35,Wilson<[EMAIL PROTECTED]> wrote: > >> Hi, > > >> I'm wondering if there are any tools available or simple methods for > >> taking a python source file and parsing into some hierarchical format, > >> like the C

Re: Manipulating Python Source

2008-08-12 Thread Patrol Sun
This idea recalls Spring's Bean binding to me. Good idea. Is there similar thing? 2008/8/12 Wilson <[EMAIL PROTECTED]> > Hi, > > I'm wondering if there are any tools available or simple methods for > taking a python source file and parsing into some hierarchical format, > like the ConfigParser. I

Re: Manipulating Python Source

2008-08-12 Thread Bruno Desthuilliers
Kay Schluehr a écrit : On 12 Aug., 16:35, Wilson <[EMAIL PROTECTED]> wrote: Hi, I'm wondering if there are any tools available or simple methods for taking a python source file and parsing into some hierarchical format, like the ConfigParser. http://docs.python.org/lib/module-parser.html http

Re: Manipulating Python Source

2008-08-12 Thread Kay Schluehr
On 12 Aug., 16:35, Wilson <[EMAIL PROTECTED]> wrote: > Hi, > > I'm wondering if there are any tools available or simple methods for > taking a python source file and parsing into some hierarchical format, > like the ConfigParser. http://docs.python.org/lib/module-parser.html http://docs.python.org

Manipulating Python Source

2008-08-12 Thread Wilson
Hi, I'm wondering if there are any tools available or simple methods for taking a python source file and parsing into some hierarchical format, like the ConfigParser. I'd like to be able to do something like the following: test.py: --- """ This