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


Groups > comp.lang.python > #51056

How to read a make file in python and access its elements

Newsgroups comp.lang.python
Date 2013-07-22 12:09 -0700
Message-ID <beec5587-f154-47ed-b5f9-d548428d4da5@googlegroups.com> (permalink)
Subject How to read a make file in python and access its elements
From san <santosh.ssit@gmail.com>

Show all headers | View raw


How to read/load  the cmake file in python and access its elements.  
I have a scenario, where i need to load the make file and access its elements.  
I have tried reading the make file as text file and parsing it,but its not the ideal solution 
Please let me know how to load the .mk file and access its elements in python.

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


Thread

How to read a make file in python and access its elements san <santosh.ssit@gmail.com> - 2013-07-22 12:09 -0700
  Re: How to read a make file in python and access its elements Ben Finney <ben+python@benfinney.id.au> - 2013-07-23 09:14 +1000
  Re: How to read a make file in python and access its elements Dave Angel <davea@davea.name> - 2013-07-22 20:39 -0400
  Re: How to read a make file in python and access its elements alex23 <wuwei23@gmail.com> - 2013-07-23 10:48 +1000

csiph-web