I'm using Python under Linux. Could you please recommend some libs or command line tools to parse Adobe Illustrator (.ai) files which I can use in my Python program?
What I need to do includes:
I need it under Ubuntu so I cannot use win32com
I think many modern .AI files are just extended PDF files. A quick test would be: rename the .AI to .PDF and see if your PDF reader can open it. If so, there are plenty of tools to deal with PDF files.
If you have older .AI files then you can try Uniconvertor. It is Python, perhaps you can import some functionality from it.
[update]
This answer is quite old. If it does not work for you leave a comment with what went wrong.