Re: How to change '\\' to '\'

2018-10-01 Thread Ethan Furman
On 10/01/2018 11:10 PM, Christian Gollwitzer wrote: Am 02.10.18 um 04:17 schrieb Jach Fong: It was supposed that most discussant want to see the reply message instantly when they open the mail. They already know what is going on and no need to pass through all those previous message. "top post

Re: How to achieve pyc only deployment for module in python3.6

2018-10-01 Thread Chandana Pattanayak
Thank you all. I will go for containers. Will ask for more time based on all your inputs.. Thanks, Chandana On Tue, 2 Oct 2018, 11:22 dieter, wrote: > dieter writes: > > Chandana Pattanayak writes: > >> I have a requirement to provide basic code protection for a module in > our > >> product s

Re: How to change '\\' to '\'

2018-10-01 Thread Christian Gollwitzer
Am 02.10.18 um 04:17 schrieb Jach Fong: It was supposed that most discussant want to see the reply message instantly when they open the mail. They already know what is going on and no need to pass through all those previous message. "top posting" seems more reasonable to me:-) You assume that e

Re: How to achieve pyc only deployment for module in python3.6

2018-10-01 Thread dieter
dieter writes: > Chandana Pattanayak writes: >> I have a requirement to provide basic code protection for a module in our >> product suite. With python 3.6 the .pyc files are created under pycache , >> so if i remove the py file the module is not found anymore. > ... > Note that you can disassemb

Re: How to achieve pyc only deployment for module in python3.6

2018-10-01 Thread Chris Angelico
On Tue, Oct 2, 2018 at 12:01 PM Chandana Pattanayak wrote: > > Hi, > > I have a requirement to provide basic code protection for a module in our > product suite. With python 3.6 the .pyc files are created under pycache , > so if i remove the py file the module is not found anymore. If you want co

Re: How to achieve pyc only deployment for module in python3.6

2018-10-01 Thread dieter
Chandana Pattanayak writes: > I have a requirement to provide basic code protection for a module in our > product suite. With python 3.6 the .pyc files are created under pycache , > so if i remove the py file the module is not found anymore. One approach could be to define and register your own

Re: How to change '\\' to '\'

2018-10-01 Thread William Ray Wing via Python-list
> On Oct 1, 2018, at 10:17 PM, Jach Fong wrote: > > Thanks for your info about how Windows supports the forward slash. > > I don't quit sure what is the meaning of "top posting" in your mail. > If its meaning (forgive me if I was wrong) is where the reply was put > in mail, I have reason of st

Re: How to change '\\' to '\'

2018-10-01 Thread Jach Fong
Thanks for your info about how Windows supports the forward slash. I don't quit sure what is the meaning of "top posting" in your mail. If its meaning (forgive me if I was wrong) is where the reply was put in mail, I have reason of standing on the opposite side. It was supposed that most discuss

How to achieve pyc only deployment for module in python3.6

2018-10-01 Thread Chandana Pattanayak
Hi, I have a requirement to provide basic code protection for a module in our product suite. With python 3.6 the .pyc files are created under pycache , so if i remove the py file the module is not found anymore. Thank you, Chandana -- https://mail.python.org/mailman/listinfo/python-list

Re: This thread is closed [an actual new thread]

2018-10-01 Thread Ethan Furman
On 10/01/2018 04:26 PM, Ben Finney wrote: > Ethan Furman writes: >> This thread is closed. > > Coming from a moderator of this forum, I don't know how that statement > is to be interpreted. It should be interpreted as: - No further discussion should take place on this thread. - I've done what I

This thread is closed (was: [OT] master/slave debate in Python)

2018-10-01 Thread Ben Finney
Ethan Furman writes: > This thread is closed. Coming from a moderator of this forum, I don't know how that statement is to be interpreted. Is that a statement that it is *impossible* (mechanically) to post replies in this thread? Across the different technologies that propogate this forum? If

Re: So apparently I've been banned from this list

2018-10-01 Thread Jon Ribbens
On 2018-10-01, Roel Schroeven wrote: > I'm not very active here, but I've been lurking for years. In my eyes > Steven has always been active and helpful. Now he has *once* been a > *tiny bit* rude, and he's banned for that? It's not "once", it's a long-standing pattern of behaviour. > As far a

Re: regex string matching python3

2018-10-01 Thread Brian J. Oney via Python-list
On Mon, 2018-10-01 at 10:49 -0700, nanman3...@gmail.com wrote: > I have a string like this:  >  > b'\tC:94.3%[S:89.9%,D:4.4%],F:1.7%,M:4.0%,n:1440\n' >  > And I would like to  extract the numbers corresponding to S,D,F and M in this > string and convert them into an array like this:  >  > [ '89.9'

Re: How to change '\\' to '\'

2018-10-01 Thread mm0fmf
On 01/10/2018 10:19, Jach Fong wrote: Hmmm...strange, I didn't see Rick's mail:-( Sure the forward slash is better, not to cause this confusion. But I am curious, since when, I mean, since which version Windows start to accept forward slash? First, stop top posting. Second, ISTR that all Win

Re: So apparently I've been banned from this list

2018-10-01 Thread Fetchinson . via Python-list
On 10/1/18, Roel Schroeven wrote: > jkn schreef op 1/10/2018 om 20:25: >> On Monday, October 1, 2018 at 6:57:30 PM UTC+1, Ethan Furman wrote: >>> On 09/30/2018 09:30 AM, Steven D'Aprano wrote: >>> Notwithstanding Ethan's comment about having posted the suspension notice on the list,

Re: So apparently I've been banned from this list

2018-10-01 Thread Roel Schroeven
jkn schreef op 1/10/2018 om 20:25: On Monday, October 1, 2018 at 6:57:30 PM UTC+1, Ethan Furman wrote: On 09/30/2018 09:30 AM, Steven D'Aprano wrote: Notwithstanding Ethan's comment about having posted the suspension notice on the list, I see no sign that he actually did so. My apologies to

Re: regex string matching python3

2018-10-01 Thread MRAB
On 2018-10-01 18:49, nanman3...@gmail.com wrote: I have a string like this: b'\tC:94.3%[S:89.9%,D:4.4%],F:1.7%,M:4.0%,n:1440\n' And I would like to extract the numbers corresponding to S,D,F and M in this string and convert them into an array like this: [ '89.9', '4.4', '1.7', '4.0'] Any he

Re: So apparently I've been banned from this list

2018-10-01 Thread Mark Lawrence
On 01/10/18 19:05, Chris Angelico wrote: On Tue, Oct 2, 2018 at 3:49 AM Mark Lawrence wrote: Personally I think Ethan Furman should be removed from his position as a moderator as he's less than useless at the job. If you mean how he sent an email to the mods instead of to the list, that's a

Re: So apparently I've been banned from this list

2018-10-01 Thread jkn
On Monday, October 1, 2018 at 6:57:30 PM UTC+1, Ethan Furman wrote: > On 09/30/2018 09:30 AM, Steven D'Aprano wrote: > > > Notwithstanding Ethan's comment about having posted the suspension notice > > on the list, I see no sign that he actually did so. > > My apologies to you and the list. I did

Re: So apparently I've been banned from this list

2018-10-01 Thread Chris Angelico
On Tue, Oct 2, 2018 at 3:49 AM Mark Lawrence wrote: > > Personally I think Ethan Furman should be removed from his position as a > moderator as he's less than useless at the job. If you mean how he sent an email to the mods instead of to the list, that's a simple administrative error that anyone

Re: So apparently I've been banned from this list

2018-10-01 Thread Ethan Furman
On 09/30/2018 09:30 AM, Steven D'Aprano wrote: Notwithstanding Ethan's comment about having posted the suspension notice on the list, I see no sign that he actually did so. My apologies to you and the list. I did indeed only send the notice to the other moderators. Contrary to what you and

regex string matching python3

2018-10-01 Thread nanman3012
I have a string like this: b'\tC:94.3%[S:89.9%,D:4.4%],F:1.7%,M:4.0%,n:1440\n' And I would like to extract the numbers corresponding to S,D,F and M in this string and convert them into an array like this: [ '89.9', '4.4', '1.7', '4.0'] Any help would be appreciated! -- https://mail.python

Re: [OT] master/slave debate in Python

2018-10-01 Thread Ethan Furman
This thread is closed. -- ~Ethan~ Python List Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT] master/slave debate in Python

2018-10-01 Thread Ian Kelly
On Wed, Sep 26, 2018 at 3:18 PM Chris Angelico wrote: > > On Thu, Sep 27, 2018 at 7:05 AM Ian Kelly wrote: > > > > You're objecting to people trying to do *something* positive on the > > grounds that they're not doing *more* while you yourself are doing > > *nothing*. That's pretty hypocritical.

Re: So apparently I've been banned from this list

2018-10-01 Thread Mark Lawrence
On 30/09/18 17:30, Steven D'Aprano wrote: I've been unexpectedly in hospital for the past two weeks, without internet or email. Just before my unexpected hospital stay, I was apparently banned (without warning) by Ethan Furman in what seems to me to be an act of retaliation for my protest against

Re: How to change '\\' to '\'

2018-10-01 Thread Peter J. Holzer
On 2018-10-01 17:19:25 +0800, Jach Fong wrote: > Sure the forward slash is better, not to cause this confusion. > But I am curious, since when, I mean, since which version > Windows start to accept forward slash? Since MS-DOS 2.0, i.e., before Windows even existed. Note that this is only true for

Re: How to change '\\' to '\'

2018-10-01 Thread Thomas Jollans
On 2018-10-01 11:19, Jach Fong wrote: > Hmmm...strange, I didn't see Rick's mail:-( That's because he's banned from the list, but still around on the newsgroup > Sure the forward slash is better, not to cause this confusion. > But I am curious, since when, I mean, since which version > Windows st

Re: How to change '\\' to '\'

2018-10-01 Thread Jach Fong
Hmmm...strange, I didn't see Rick's mail:-( Sure the forward slash is better, not to cause this confusion. But I am curious, since when, I mean, since which version Windows start to accept forward slash? --Jach Alister ware via Python-list at 2018/10/1 PM 04:15 wrote: On Sun, 30 Sep 2018 17:45

Re: How to change '\\' to '\'

2018-10-01 Thread Alister ware via Python-list
On Sun, 30 Sep 2018 17:45:52 -0700, Rick Johnson wrote: > Jach Fong wrote: >> I get a string item, for example path[0], from path = >> os.get_exec_path() >> It's something like "\\Borland\\Bcc55\\Include", a Python string. >> I want to use this "string" in a subprocess command as a parameter. >> O