Skip to content

create command for getting parts of the zen of python #642

@skrungly

Description

@skrungly

it would be nice to be able to get specific parts of the zen of python from a command. for example,

!zen 13 would retrieve the fourteenth line (because we index from zero, obviously).

!zen namespaces would search for the string "namespaces", and produce the line which matches best.

!zen without any arguments would still produce the entire thing in the same way that the zen tag does.

i think this is reasonably simple, and could come in handy from time to time. :D

edit: also, i'd quite like to implement this. seems simple enough while i get used to all of the new changes since last year :D

Metadata

Metadata

Assignees

Labels

a: informationRelated to information commands: (doc, help, information, reddit, site, tags)p: 3 - lowLow Prioritys: WIPWork In Progress

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions