Re: Dia+Python from the command line? (was: does Dia have a Python script interface?)



Quoting "Carlo Calderoni" <calderoni carlo gmail com>:
I made a little test script, it is linux oriented.
...
A cleaner solution but not using Dia program or dia python plugin is a good
xml parser and XPath. Martin, If you really need something like that, i made
a php lib for accessing dia files: it is on launchpad, it is open source but
1/3 of the documentation is not in english (workin on it). Send me an email
for more info, i dont think this is the place to advertise my work.

Carlo, many thanks for your investigation and scripts!

Maybe just parsing the .dia file via Python is the best thing
to do in this case. With e.g. lxml one has nice APIs for this.
Maybe a specialised wrapper for .dia files would make sense,
however, in the long run.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]