On Tuesday, 31 January 2017 23:39:41 UTC, Ben Finney wrote:
> The Python community has a stronger (?) preference for reStructuredText
> format. Can that be the default?
>
> That is, I want my text files to be named ‘foo’ (no suffix) or ‘foo.txt’
> (because they're primarily text), and have the d
I've created a command line utility for managing text files. It's written in
Python:
https://github.com/paul-wolf/yewdoc-client
It makes heavy use of the fantastic Click module by Armin Ronacher:
http://click.pocoo.org/5/
This can be thought of in different ways:
* A micro-wiki
On Sunday, 10 August 2014 17:31:01 UTC+1, Steven D'Aprano wrote:
> Devin Jeanpierre wrote:
>
>
>
> > On Fri, Aug 8, 2014 at 2:01 AM, Paul Wolf wrote:
>
> >> This is a proposal with a working implementation for a random string
>
> >> gener
On Sunday, 10 August 2014 17:47:48 UTC+1, Ian wrote:
> On Sun, Aug 10, 2014 at 10:34 AM, Paul Wolf wrote:
>
> > For instance, a template language that validates the output would have to
> > do frequency analysis. But that is getting too far off the purpose of
> >
On Sunday, 10 August 2014 13:43:04 UTC+1, Devin Jeanpierre wrote:
> On Fri, Aug 8, 2014 at 2:01 AM, Paul Wolf wrote:
>
> > This is a proposal with a working implementation for a random string
> > generation template syntax for Python. `strgen` is a module for generating
>
On Friday, 8 August 2014 23:03:18 UTC+1, Ian wrote:
> On Fri, Aug 8, 2014 at 3:01 AM, Paul Wolf wrote:
>
> > * Uses SystemRandom class (if available, or falls back to Random)
> A simple improvement would be to also allow the user to pass in a
> Random object
That is not a bad
On Friday, 8 August 2014 12:29:09 UTC+1, Chris Angelico wrote:
> Debian Wheezy can spin up a Python 3 from source anyway, and
>
> presumably ditto for any other Linux distro that's distributing 3.1 or
>
> 3.2; most other platforms should have a more modern Python available
>
> one way or anothe
On Friday, 8 August 2014 12:20:36 UTC+1, Ned Batchelder wrote:
> On 8/8/14 5:42 AM, Paul Wolf wrote:
>
> Don't bother trying to support <=3.2. It will be far more difficult
>
> than it is worth in terms of adoption of the library.
>
> Also, you don't n
On Friday, 8 August 2014 10:22:33 UTC+1, Chris Angelico wrote:
> But I eyeballed your code, and I'm seeing a lot of
> u'string' prefixes, which aren't supported on 3.0-3.2 (they were
> reinstated in 3.3 as per PEP 414), so a more likely version set would
>
> be 2.6+, 3.3+. What's the actual versi
anguage could
easily be a cross-language standard like regex.
You can `pip install strgen`.
It's on Github: https://github.com/paul-wolf/strgen
--
https://mail.python.org/mailman/listinfo/python-list
10 matches
Mail list logo