Ok, thanks.

I guess I'll stick with my original idea of reading my journal file line by 
line, and simply replacing/inserting the relevant lines with new lines 
including the commodity lot reductions. Shouldn't be too difficult to do in 
python with some regexp searches, even at my beginning level.

Joel

Le mercredi 30 août 2017 21:01:23 UTC+2, John Wiegley a écrit :
>
> >>>>> "JS" == Joel Swanson <[email protected] <javascript:>> writes: 
>
> SJ> I'd like to modify those posts by inserting the {price unit} [date] 
> lots 
> SJ> information, adding necessary postings if I have to reduce from 
> multiple 
> JS> lots. Is there a command in the python bridge similar to the ledger 
> print 
> JS> command, so that after I've manipulated the posts, I can print the 
> output 
> SJ> in ledger format to stout? 
>
> That's a really good question.  I found this: 
>
>   string py_xact_to_string(xact_t&) 
>   { 
>     // jww (2012-03-01): TODO 
>     return empty_string; 
>   } 
>
> So, the answer I guess is that it hasn't been implemented in the last 5 
> and a 
> half years... 
>
> -- 
> John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F 
> http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to