Any thoughts on supporting string interpolation/variable expansion

Asked by Bill Eaton

It would be nice to be able to programmatically inject strings into a title, heading, or even text of a report.

I suppose I should look at the code that handles processing comments. Maybe there's a crude way I could hack up a prototype.

--Bill Eaton

Question information

Language:
English Edit question
Status:
Answered
For:
pyreport Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Gael Varoquaux (gael-varoquaux) said :
#1

Hey Bill,

On Tue, Apr 13, 2010 at 09:33:27PM -0000, Bill Eaton wrote:
> It would be nice to be able to programmatically inject strings into a
> title, heading, or even text of a report.

The way I usual achieve similar effects is by printing the values I am
interested in, but that does really do what you're after.

> I suppose I should look at the code that handles processing comments.
> Maybe there's a crude way I could hack up a prototype.

I am pretty tied up with other commitments. I am having a hard time
finding to add features to pyreport. On the other hand, I can only
encourage you to have a look and see how you can pitch in. The codebase
is not that complex, and I will accept any good patch.

Best,

Gaël

Can you help with this problem?

Provide an answer of your own, or ask Bill Eaton for more information if necessary.

To post a message you must log in.