Writing filters – Python examples: simple, binary mode, unicode file acces
Somy Python filter examples. Please read first Vyv's article "Writing filters – PERL example" for general knowledge.
Don't be afraid of using SQL/ODBC
Python filters are in some situations more powerful and more easy readable then PERL scripts, because it can used object orientaded and has some nice syntax features. You also can handle complex unicode problems in files, because there are libs out there. In my tests python is also very fast.
Businesses using StreamServe need more and more data in / on and around their documents and one of the best ways to do it is with SQL and ODBC.
Featured articleExternal RTF content with a dynamic twist
Stored procedures, complex data relationships and the like (like LIKE :-) can bog you down if you are not used to SQL. Here is a heavy example that works beautifully...so do not be afraid....
It is no secret that external resources, such as RTF documents, can be referenced to, using a substitution, from; say a table cell in StoryTeller. A lesser known fact is that it is possible to affect the preformatted contents of the RTF-resource dynamically in runtime.