On Mon, May 21, 2018 at 5:20 AM, Chris Angelico wrote:
> On Mon, May 21, 2018 at 8:28 AM, Mikhail V wrote:
>>> >
>>> > Comments, suggestions are welcome.
>>> >
>>>
>>> One comment.
>>>
>>> I'm not interested in downloading a PDF. Can you rework your document
>>> to be in a more textual format lik
On Mon, May 21, 2018 at 2:00 PM, Mikhail V wrote:
>> The second best way is to have a simple link that anyone can click on
>> to read your proposal. It's an external dependency, but you're
>> depending on a web browser and a basic internet connection, and
>> nothing more.
>>
>> Forcing us to downl
On Mon, May 21, 2018 at 3:02 AM, Ian Kelly wrote:
> On Sun, May 20, 2018 at 4:28 PM, Mikhail V wrote:
>> "Markdown" is too vague - there dozens of markdown styles and
>> also they include subsets of HTML. It is just plain text with tags
>
> The whole point of Markdown is that it's readable as pla
On 05/18/2018 06:25 AM, Paul Moore wrote:
> There are two completely independent cultures here. In "Corporate"
> cultures like where I work (where IT and business functions interact a
> lot, and business users typically use tools like Outlook) top-posting
> is common, conventional, and frankly, eff
On Mon, May 21, 2018 at 8:28 AM, Mikhail V wrote:
>> >
>> > Comments, suggestions are welcome.
>> >
>>
>> One comment.
>>
>> I'm not interested in downloading a PDF. Can you rework your document
>> to be in a more textual format like Markdown or reStructuredText?
>> Since you're hosting on GitHub
On Sun, May 20, 2018 at 4:28 PM, Mikhail V wrote:
> "Markdown" is too vague - there dozens of markdown styles and
> also they include subsets of HTML. It is just plain text with tags
The whole point of Markdown is that it's readable as plain text
precisely because it *doesn't* use obvious tags li
bruceg113...@gmail.com wrote:
> Lets say I have the following tuple like string.
> (128, 020, 008, 255)
>
> What is the best way to to remove leading zeroes and end up with the
> following.
> (128, 20, 8, 255)-- I do not care about spaces
>
> This is the solution I came up with
>
> >
> > Comments, suggestions are welcome.
> >
>
> One comment.
>
> I'm not interested in downloading a PDF. Can you rework your document
> to be in a more textual format like Markdown or reStructuredText?
> Since you're hosting on GitHub anyway, the rendering can be done
> automatically.
>
> Chris
On Sunday, May 20, 2018 at 5:32:32 PM UTC-4, Paul wrote:
> >
> >
> > This works for me: mytuplestring.replace("0","")
> >
> > Your regex will also eliminate non-leading zeros.
Your right, what was I thinking?
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, May 20, 2018, 5:53 PM Paul wrote:
> This works for me: mytuplestring.replace("0","")
>
>>
>>> Your regex will also eliminate non-leading zeros.
>>
>>
> If you Google
>
> regex tester
>
> you will find several useful sites where you can test regexes. Regex
> errors are very common, even
>
>
> This works for me: mytuplestring.replace("0","")
>
> Your regex will also eliminate non-leading zeros.
--
https://mail.python.org/mailman/listinfo/python-list
On Sunday, May 20, 2018 at 5:01:08 PM UTC-4, Michael F. Stemper wrote:
> On 2018-05-20 14:54, bruceg113...@gmail.com wrote:
> > Lets say I have the following tuple like string.
> >(128, 020, 008, 255)
> >
> > What is the best way to to remove leading zeroes and end up with the
> > following.
On 2018-05-20 14:54, bruceg113...@gmail.com wrote:
Lets say I have the following tuple like string.
(128, 020, 008, 255)
What is the best way to to remove leading zeroes and end up with the following.
(128, 20, 8, 255)-- I do not care about spaces
I'd use a few regular expressio
On 5/20/18 11:52 AM, Dennis Lee Bieber wrote:
> On Sun, 20 May 2018 12:11:34 +0100, bartc declaimed the
> following:
>
>> I think that's the wrong approach. You need to work to the lowest common
>> denominator, not the highest. (Within reason anyway.)
>>
> If a reader can not handle permitt
Lets say I have the following tuple like string.
(128, 020, 008, 255)
What is the best way to to remove leading zeroes and end up with the following.
(128, 20, 8, 255)-- I do not care about spaces
This is the solution I came up with
s = "(128, 020, 008, 255)"
v = s.replace ("(
Mint 18
Libreoffice 5.1.6.2
Python 3.6.5 in one virtual environment
Python 3.5.2 in another
I am writing a script that uses pyautogui to get some data and paste it
into a Libreoffice calc file, there by bypassing the complexity of uno.
The problem is it runs fine if I use python 3.5. If I use
On 20/05/2018 16:37, Dennis Lee Bieber wrote:
On Sun, 20 May 2018 12:38:59 +0100, bartc declaimed the
Just for giggles, I decided to write the start of a PPM reader (it only
handles P6 binary, doesn't have the code for the other styles, and doesn't
incorporate PPM writer functions but
The "indexing" page of the documentation might help you with this:
https://docs.scipy.org/doc/numpy-1.14.0/reference/arrays.indexing.html
On 05/18/2018 09:50 PM, sharan.basa...@gmail.com wrote:
This is regarding numpy array. I am a bit confused how parts of the array are
being accessed in the
On 2018-05-18 06:24 PM, José María Mateos wrote:
> And another one I learned recently on a similar conversation on another
> mailing list (that of the e-mail client I'm using right now): it is very
> useful for searches. Every e-mail contains just the right amount of text
> necessary to be prope
On Sunday, 20 May 2018 08:58:32 UTC-4, Richard Damon wrote:
> On 5/20/18 7:59 AM, bellcanada...@gmail.com wrote:
> > On Saturday, 19 May 2018 19:03:09 UTC-4, Chris Angelico wrote:
> >> On Sun, May 20, 2018 at 8:58 AM, wrote:
> >>> On Thursday, 29 January 2009 12:09:29 UTC-5, Anjanesh Lekshminar
On Sun, May 20, 2018 at 04:59:12AM -0700, bellcanada...@gmail.com wrote:
> On Saturday, 19 May 2018 19:48:20 UTC-4, Skip Montanaro wrote:
> > As Chris indicated, you'll have to figure out the correct encoding. You
> > might want to check out the chardet module (available on PyPI, I believe)
> > a
> how exactly am i supposed to find oout what is the correct encodeing?
It seems you are a Python beginner. Rather than just tell you how to use
this one module, I'll point you at some of the ways to get help through
Python.
* On pypi.org, search for "chardet" and see if the author provided onlin
On 5/20/18 7:59 AM, bellcanada...@gmail.com wrote:
> On Saturday, 19 May 2018 19:03:09 UTC-4, Chris Angelico wrote:
>> On Sun, May 20, 2018 at 8:58 AM, wrote:
>>> On Thursday, 29 January 2009 12:09:29 UTC-5, Anjanesh Lekshminarayanan
>>> wrote:
> It does auto-detect it as cp1252- look at t
On Saturday, 19 May 2018 19:03:09 UTC-4, Chris Angelico wrote:
> On Sun, May 20, 2018 at 8:58 AM, wrote:
> > On Thursday, 29 January 2009 12:09:29 UTC-5, Anjanesh Lekshminarayanan
> > wrote:
> >> > It does auto-detect it as cp1252- look at the files in the traceback and
> >> > you'll see lib\e
On Saturday, 19 May 2018 19:48:20 UTC-4, Skip Montanaro wrote:
> As Chris indicated, you'll have to figure out the correct encoding. You
> might want to check out the chardet module (available on PyPI, I believe)
> and see if it can come up with a better guess. I imagine there are other
> encoding
On 20/05/2018 10:19, Peter J. Holzer wrote:
On 2018-05-19 13:43:14 +0100, bartc wrote:
Text files, yes. Not 'text mode' which is something inflicted on us by the C
library.
I very much enjoy the fact that the programming languages I've used to
process text files in the last 15 years (i.e. Pe
On 20/05/2018 02:58, Dennis Lee Bieber wrote:
On Sun, 20 May 2018 02:13:01 +0100, bartc declaimed the
following:
I think if you are going to be generating ppm, then the best choice of
format, for the widest acceptance, is to separate the header groups with
a newline. (As I mentioned my downloa
On 2018-05-19 13:43:14 +0100, bartc wrote:
> On 19/05/2018 12:33, Peter J. Holzer wrote:
> > On 2018-05-19 11:33:26 +0100, bartc wrote:
>
> > > Not you understand why some of us don't bother with 'text mode' files.
> >
> > "Not" or "Now"?
>
> Now.
>
> > Yesterday you claimed that you worked wit
bellcanada...@gmail.com wrote:
> On Thursday, 29 January 2009 12:09:29 UTC-5, Anjanesh Lekshminarayanan
> wrote:
>> > It does auto-detect it as cp1252- look at the files in the traceback
>> > and you'll see lib\encodings\cp1252.py. Since cp1252 seems to be the
>> > wrong encoding, try opening it
29 matches
Mail list logo