On 01/10/2017 08:06 AM, Paul Moore wrote:
On Tuesday, 10 January 2017 15:47:20 UTC, Paul Moore wrote:
On Saturday, 7 January 2017 19:14:43 UTC, Ethan Furman wrote:
Ya know, that looks an /awful/ lot like a collection! Maybe even an Enum? ;)
-- 8<
On Tuesday, 10 January 2017 15:47:20 UTC, Paul Moore wrote:
> On Saturday, 7 January 2017 19:14:43 UTC, Ethan Furman wrote:
> > Ya know, that looks an /awful/ lot like a collection! Maybe even an Enum?
> > ;)
> >
> > -- 8< ---
> > from aenu
On Saturday, 7 January 2017 19:14:43 UTC, Ethan Furman wrote:
> Ya know, that looks an /awful/ lot like a collection! Maybe even an Enum? ;)
>
> -- 8< ---
> from aenum import Enum # note the 'a' before the 'enum' :)
>
> class Theme(Enum, i
On 01/06/2017 11:34 PM, Steve D'Aprano wrote:
On Sat, 7 Jan 2017 12:03 am, Steve D'Aprano wrote:
The second hardest problem in computer science is cache invalidation.
The *hardest* problem is naming things.
After puzzling over this for three days, it suddenly hit me:
Theme = namedtuple("The
On Sat, 7 Jan 2017 12:03 am, Steve D'Aprano wrote:
> The second hardest problem in computer science is cache invalidation.
>
> The *hardest* problem is naming things.
Thanks everyone who answered, but I think some of you misunderstood my
question. I know that the individual characters themselves
On 01/06/2017 05:03 AM, Steve D'Aprano wrote:
The second hardest problem in computer science is cache invalidation.
The *hardest* problem is naming things.
In a hierarchical tree view widget that displays items like this:
Fiction
├─ Fantasy
│ ├─ Terry Pratchett
│ │ ├─ Discw
On Friday, January 6, 2017 at 8:45:41 PM UTC-5, Mario R. Osorio wrote:
> On Friday, January 6, 2017 at 10:37:40 AM UTC-5, Ethan Furman wrote:
> > On 01/06/2017 05:03 AM, Steve D'Aprano wrote:
> >
> > > what do we call the vertical and horizontal line elements? I want to make
> > > them configurabl
On Friday, January 6, 2017 at 10:37:40 AM UTC-5, Ethan Furman wrote:
> On 01/06/2017 05:03 AM, Steve D'Aprano wrote:
>
> > what do we call the vertical and horizontal line elements? I want to make
> > them configurable, which means the user has to be able to pass an argument
> > that specifies the
On 01/06/2017 05:03 AM, Steve D'Aprano wrote:
what do we call the vertical and horizontal line elements? I want to make
them configurable, which means the user has to be able to pass an argument
that specifies them. I have names for the individual components:
XXX = namedtuple("XXX", "vline tee
"VT52 special graphics characters", anyone? Credit where credit is due. Who
hasn't borked their output and wound up with their VT(52|100) in graphics
mode? :-)
https://en.wikipedia.org/wiki/VT52
Skip
--
https://mail.python.org/mailman/listinfo/python-list
Steve D'Aprano writes:
[...]
> Fiction
> ├─ Fantasy
> │ ├─ Terry Pratchett
> │ │ ├─ Discworld
> │ │ │ ├─ Wyrd Sisters
> │ │ │ └─ Carpe Jugulum
> │ │ └─ Dodger
> │ └─ JK Rowling
[...]
> what do we call the vertical and horizontal line elements?
Box-draw
On 2017-01-06 13:44, Dan Sommers wrote:
> On Sat, 07 Jan 2017 00:03:37 +1100, Steve D'Aprano wrote:
> > what do we call the vertical and horizontal line elements? I want
> > to make them configurable, which means the user has to be able to
> > pass an argument that specifies them ...
>
> pstree(1)
On Sat, 07 Jan 2017 00:03:37 +1100, Steve D'Aprano wrote:
> The *hardest* problem is naming things.
>
> Fiction
> ├─ Fantasy
> │ ├─ Terry Pratchett
> │ │ ├─ Discworld
> │ │ │ ├─ Wyrd Sisters
> │ │ │ └─ Carpe Jugulum
[...]
> what do we call the vertical and hori
The second hardest problem in computer science is cache invalidation.
The *hardest* problem is naming things.
In a hierarchical tree view widget that displays items like this:
Fiction
├─ Fantasy
│ ├─ Terry Pratchett
│ │ ├─ Discworld
│ │ │ ├─ Wyrd Sisters
│ │ │ └
14 matches
Mail list logo