maybe you can check here http://pyparsing.wikispaces.com/file/view/sexpParser.py
On Thu, Mar 28, 2013 at 8:04 PM, Senthil Seveelavanan <[email protected]> wrote: > ... Also I am looking at the output of a simple pcb layout. > > here is the top 3 lines > > (kicad_pcb > (version 3) > (host pcbnew "(2013-03-19 BZR 4004)-stable") > > > I am new to s-expressions: Why are some of the strings surrounded by quotes > "..." and some are not? Do the strings without quotation marks mean variable > or similar? > > Thanks > > On Thu, Mar 28, 2013 at 5:49 PM, Senthil Seveelavanan > <[email protected]> wrote: >> >> Hi all, >> >> Does any python code exist to assist the parsing of the new .kicad_pcb >> pcbnew s-expression based file format? I want to write a simple script to >> get/set the placement of tracks/vias etc. >> >> Thanks >> >> Senthil > > > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : [email protected] > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

