On Thu, 4 Dec 2014 11:02:51 -0600 "Edward K. Ream" <edream...@gmail.com> wrote:
> On Sat, Nov 29, 2014 at 1:11 AM, Matt Wilkie <map...@gmail.com> wrote: > > > > > > > Now how did you get that nicely formatted `c.db.keys()` in the first > > section? I had to wrap it in `g.es(c.db.keys())`, and then it > > prints all in one line. > > > > You don't need valuespace for this. For any dict d, the idiom is:: > > print('\n'.join(sorted(d.keys()))) But the "valuespace" command is rendering the result of the last executed code block using pprint.pprint, which includes the values and handles indentation and alignment. Cheers -Terry -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.