BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Application config files
- Subject: [Discuss] Application config files
- From: invalid at pizzashack.org (Derek Martin)
- Date: Tue, 23 Jul 2019 13:32:49 -0500
- In-reply-to: <5d374cdd.1c69fb81.27b87.d326@mx.google.com>
- References: <5d29054d.1c69fb81.f282b.a909@mx.google.com> <20190722203320.GC31101@bladeshadow.org> <5d364689.1c69fb81.18a91.c1b9@mx.google.com> <20190723175111.GE31101@bladeshadow.org> <5d374cdd.1c69fb81.27b87.d326@mx.google.com>
On Tue, Jul 23, 2019 at 02:07:24PM -0400, Rich Pieri wrote: > On Tue, 23 Jul 2019 12:51:11 -0500 > Derek Martin <invalid at pizzashack.org> wrote: > > > Effectively, printing = storing. > > If this were true then we wouldn't be having this discussion. But it IS true. The same python to generate the printed list may be used to write it out to disk, by redirecting stdio, either in your shell or in the program itself. This of course is up to the programmer and/or the user. Alternatively, you could call dump() instead of dumps(), which... guess what it does? Writes out the formatted string to a specified file object, but otherwise works identically. Alternatively, you could save the formatted string in a variable, and write it out to a specified file object (which may or may not be stdout or a disk file)... etc. There is no practical difference to any of these options. But you knew all of that. So... why *are* we having this discussion? -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02 -=-=-=-=- This message is posted from an invalid address. Replying to it will result in undeliverable mail due to spam prevention. Sorry for the inconvenience.
- References:
- [Discuss] Application config files
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Application config files
- From: invalid at pizzashack.org (Derek Martin)
- [Discuss] Application config files
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Application config files
- From: invalid at pizzashack.org (Derek Martin)
- [Discuss] Application config files
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Application config files
- Prev by Date: [Discuss] Application config files
- Next by Date: [Discuss] timidity
- Previous by thread: [Discuss] Application config files
- Next by thread: [Discuss] Application config files
- Index(es):