On 4/1/2017 12:00 PM, Steve D'Aprano wrote:
example of the Ugly American.
As an American I resent your promotion and perpetuation of an ugly
ethno-centric stereotype.
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, 2 Apr 2017 12:42 pm, Rick Johnson wrote:
> On Saturday, April 1, 2017 at 9:18:14 PM UTC-5, Steve D'Aprano wrote:
> [...]
>> Even India has a literacy rate of 74%, which is not far off
>> the functional literacy rate in the US of 86%.
>>
>> http://www.huffingtonpost.com/2013/09/06/illiterac
On 04/01/2017 08:18 PM, Steve D'Aprano wrote:
>> And yet America continues to be emulated by 100% of the world.
>
> Well, at least 100% of the world that you know of. Which isn't saying much.
I plonked RR a long time ago, but this little doozie requires a reply!
Having just traveled half way acro
On Saturday, April 1, 2017 at 9:18:14 PM UTC-5, Steve D'Aprano wrote:
[...]
> Even India has a literacy rate of 74%, which is not far off
> the functional literacy rate in the US of 86%.
>
> http://www.huffingtonpost.com/2013/09/06/illiteracy-rate_n_3880355.html
And your source is the HuffPo? Seri
On 2017-04-02 02:38, Rick Johnson wrote:
On Saturday, April 1, 2017 at 3:08:20 PM UTC-5, Mikhail V wrote:
On 1 April 2017 at 06:38, Rick Johnson wrote:
> On Thursday, March 30, 2017 at 9:14:54 AM UTC-5, Steve D'Aprano wrote:
> > - and making band names look ǨØØĻ and annoy old fuddy-
> > duddie
On Sun, 2 Apr 2017 09:11 am, Rick Johnson wrote:
> The majority of the populations you reference are
> illiterate.
/face-palm
The majority of Chinese and Japanese are illiterate. Really?
Even India has a literacy rate of 74%, which is not far off the functional
literacy rate in the US of 86%.
On Sun, Apr 2, 2017 at 11:53 AM, Steve D'Aprano
wrote:
> Robert, I've asked you once to stop posting anti-Semitic signatures in your
> posts. You've now posted four times, and each one has included racist
> material in the signature.
>
> You are welcome to participate here if you discuss Python, o
Robert, I've asked you once to stop posting anti-Semitic signatures in your
posts. You've now posted four times, and each one has included racist
material in the signature.
You are welcome to participate here if you discuss Python, or even to
discuss general programming techniques, but if you cont
On Saturday, April 1, 2017 at 3:08:20 PM UTC-5, Mikhail V wrote:
> On 1 April 2017 at 06:38, Rick Johnson wrote:
> > On Thursday, March 30, 2017 at 9:14:54 AM UTC-5, Steve D'Aprano wrote:
>
> > > - and making band names look ǨØØĻ and annoy old fuddy-
> > > duddies.
> >
> > So now we've even includ
On 2 April 2017 at 02:01, Chris Angelico wrote:
> On Sun, Apr 2, 2017 at 9:25 AM, Mikhail V wrote:
>> On 2 April 2017 at 00:22, Chris Angelico wrote:
>>> On Sun, Apr 2, 2017 at 8:16 AM, Mikhail V wrote:
For multiple-alphabet rendering I will use some
custom text format, e.g. with tags
Does anyone have an example of using netsnmp library to do a snmpset
on a snmp v2 device? I have gotten snmpget to work fine with python I
just cannot get snmpset to work. I know I have the snmp device
configured correctly with read/write access since I can use snmpset on
the linux(centos7) comma
On Sun, Apr 2, 2017 at 9:25 AM, Mikhail V wrote:
> On 2 April 2017 at 00:22, Chris Angelico wrote:
>> On Sun, Apr 2, 2017 at 8:16 AM, Mikhail V wrote:
>>> For multiple-alphabet rendering I will use some
>>> custom text format, e.g. with tags
>>> ... , and for latin
>>> ... and etc.
>>>
>>> Simp
On Sat, Apr 1, 2017 at 12:03 AM, Carl Caulkett wrote:
> I've just started to investigate VirtualEnvironments as a means of
> preventing my 3rd party code becoming chaotic. I've discovered that
> venv's can be managed quite effectively using Powershell. When
> Activate.ps1 is run, the PowerShell ch
On 2 April 2017 at 00:22, Chris Angelico wrote:
> On Sun, Apr 2, 2017 at 8:16 AM, Mikhail V wrote:
>> For multiple-alphabet rendering I will use some
>> custom text format, e.g. with tags
>> ... , and for latin
>> ... and etc.
>>
>> Simple and effective.
>
> For multi-alphabet rendering, I would
On Saturday, April 1, 2017 at 11:01:03 AM UTC-5, Steve D'Aprano wrote:
> On Sat, 1 Apr 2017 12:17 pm, Rick Johnson wrote:
>
> > Most people just quietly change the filename and move on
>
> There are over a billion people in China, almost a billion
> more in India, about 140 million people in Russ
On 31Mar2017 19:03, Carl Caulkett wrote:
I've just started to investigate VirtualEnvironments as a means of
preventing my 3rd party code becoming chaotic. I've discovered that
venv's can be managed quite effectively using Powershell. When
Activate.ps1 is run, the PowerShell changes to indicate t
I've got three different installs of Python 3.6.1 on my El Capitan Mac:
MacPorts, homebrew and the .pkg from python.org.
For reasons I haven't divined, the homebrew and MacPorts ones abort with malloc
related errors. So I went to install the distro from python.org, which happily
does not.
Ho
On Sun, Apr 2, 2017 at 8:16 AM, Mikhail V wrote:
> For multiple-alphabet rendering I will use some
> custom text format, e.g. with tags
> ... , and for latin
> ... and etc.
>
> Simple and effective.
For multi-alphabet rendering, I would rather use an even simpler
format: Remove the tags and use
On 1 April 2017 at 18:00, Steve D'Aprano wrote:
> On Sat, 1 Apr 2017 12:17 pm, Rick Johnson wrote:
>
>> Most people just quietly change the filename and move on
>
>
> There are over a billion people in China, almost a billion more in India,
> about 140 million people in Russia, nearly 130 million
On Sun, Apr 2, 2017 at 7:49 AM, Stefan Ram wrote:
> Chris Angelico writes:
>>Yes it can; however, there is no way within Python to have a string
>>that can represent two strings, which is what directory separators do.
>
> To represent two strings, /internally/ ("within Python"),
> a straightf
On Sun, Apr 2, 2017 at 7:35 AM, Marko Rauhamaa wrote:
> Chris Angelico :
>
>> there is no way within Python to have a string that can represent two
>> strings, which is what directory separators do.
>
> Really? Try:
>
>>>> repr(("a", "b"))
>"('a', 'b')"
>
> There! A string that represents
On 1 April 2017 at 22:57, Chris Angelico wrote:
> On Sun, Apr 2, 2017 at 6:07 AM, Mikhail V wrote:
>> On 1 April 2017 at 06:38, Rick Johnson wrote:
>>> On Thursday, March 30, 2017 at 9:14:54 AM UTC-5, Steve D'Aprano wrote:
>>
- and making band names look ǨØØĻ and annoy old fuddy-
duddi
Chris Angelico :
> there is no way within Python to have a string that can represent two
> strings, which is what directory separators do.
Really? Try:
>>> repr(("a", "b"))
"('a', 'b')"
There! A string that represents two strings.
Note, however, that Python programs generally don't restr
On Sun, Apr 2, 2017 at 7:06 AM, Marko Rauhamaa wrote:
> Chris Angelico :
>
>> On Sun, Apr 2, 2017 at 6:47 AM, Marko Rauhamaa wrote:
>>> A far more convenient escaping scheme could have been devised for
>>> pathnames.
>>
>> Definitely. We should treat file names like domain names. "Bücher.ch"
>> g
On 1/18/2017, Peter Otten wrote:
> with partite.txt looking like this
>
> > 74' Kessie'
> > 90' + 4' D'alessandro
> > 51' Mchedlidze
> > 54' Banega
> > 56' Icardi
> > 65' Icardi
> > 14' Sau
>
>
> Assuming you want to perform a numerical sort on the numbers before the '
> you can just apply sor
Chris Angelico :
> On Sun, Apr 2, 2017 at 6:47 AM, Marko Rauhamaa wrote:
>> A far more convenient escaping scheme could have been devised for
>> pathnames.
>
> Definitely. We should treat file names like domain names. "Bücher.ch"
> gets represented internally as "xn--bcher-kva.ch". That would sol
On Sun, Apr 2, 2017 at 6:47 AM, Marko Rauhamaa wrote:
> You are stuck with the axiom that pathname and its representation are
> one and the same thing.
>
> URI's make the distinction clear. Say you wanted to express a resource
>
>päätyö/2
>
> as part of a URI. URIs are to contain a subset of A
On Sun, Apr 2, 2017 at 6:07 AM, Mikhail V wrote:
> On 1 April 2017 at 06:38, Rick Johnson wrote:
>> On Thursday, March 30, 2017 at 9:14:54 AM UTC-5, Steve D'Aprano wrote:
>
>>> - and making band names look ǨØØĻ and annoy old fuddy-
>>> duddies.
>>
>> So now we've even included graffiti artists in
Steve D'Aprano :
> But if I could borrow Guido's time machine, I'd go back and convince
> the file system people to use ^ as the record separator, rather than
> slash or backslash or colon. Caret is *much* less likely to be useful
> in file names than forward slash (often used for dates) or colon,
On 3/1/2017, Sayth Renshaw wrote:
> How can I flatten just a specific sublist of each list in a list of lists?
>
> So if I had this data
>
>
> [ ['46295', 'Montauk', '3', '60', '85', ['19', '5', '1', '0 $277790.00']],
> ['46295', 'Dark Eyes', '5', '59', '83', ['6', '4', '1', '0 $105625.00
On 1 April 2017 at 06:38, Rick Johnson wrote:
> On Thursday, March 30, 2017 at 9:14:54 AM UTC-5, Steve D'Aprano wrote:
>> - and making band names look ǨØØĻ and annoy old fuddy-
>> duddies.
>
> So now we've even included graffiti artists in our little
> "inclusivity project". My, my... we are so _
I'm not in the business of starting an argument about best/worse newsreader,
Ammammata, but could you please recommend a few?
TIA
--
https://mail.python.org/mailman/listinfo/python-list
On 2017-04-01 17:43, Marko Rauhamaa wrote:
Steve D'Aprano :
Open your eyes, there is a whole world past the borders of your insular,
close-minded little country. 95% of the world is not American, and there
are millions of Americans who want to use non-ASCII characters in their
file names, even
On Sat, Apr 1, 2017 at 5:38 PM, Steve D'Aprano
wrote:
> Or, for Windows, I suppose a dozen or so more characters:
>
> https://support.office.com/en-us/article/Invalid-characters-in-file-or-folder-names-or-invalid-
> file-types-in-OneDrive-for-Business-64883A5D-228E-48F5-B3D2-EB39E07630FA
It's mor
On 2017-04-01 19:43, Marko Rauhamaa wrote:
> It would be nice to be able to use a / in my file names. Funny
> enough, I'm allowed to use a zillion unprintable characters in my
> file names but no slashes allowed.
>
> Example:
>
>results-Q2/2017.json
You can:
$ touch $(/usr/bin/printf "res
On 2017-04-02 03:09, Steve D'Aprano wrote:
> *Whatever* record separator you choose to use, whether it is
> slash / or backslash \ or colon : or Ctrl-^ RS or U+113A HANGUL
> CHOSEONG SIOS-PHIEUPH, you can't *also* use it as a non-record
> separator.
Well, one could use 0x1C (FS=File Separator) whi
On Sun, 2 Apr 2017 03:18 am, Alain Ketterlin wrote:
> Marko Rauhamaa writes:
>
>> It would be nice to be able to use a / in my file names. Funny enough,
>> I'm allowed to use a zillion unprintable characters in my file names but
>> no slashes allowed.
>>
>> Example:
>>
>>results-Q2/2017.json
On Sun, 2 Apr 2017 03:08 am, Marko Rauhamaa wrote:
> Chris Angelico :
>
>> On Sun, Apr 2, 2017 at 2:43 AM, Marko Rauhamaa wrote:
>>> It would be nice to be able to use a / in my file names. Funny
>>> enough, I'm allowed to use a zillion unprintable characters in my
>>> file names but no slashes
Marko Rauhamaa writes:
> It would be nice to be able to use a / in my file names. Funny enough,
> I'm allowed to use a zillion unprintable characters in my file names but
> no slashes allowed.
>
> Example:
>
>results-Q2/2017.json
Use U+2215 (DIVISION SLASH).
I have tried this once. "Next ti
On Sat, Apr 1, 2017 at 4:55 PM, Chris Angelico wrote:
> On Sun, Apr 2, 2017 at 2:43 AM, Marko Rauhamaa wrote:
>> Steve D'Aprano :
>>
>>> Open your eyes, there is a whole world past the borders of your insular,
>>> close-minded little country. 95% of the world is not American, and there
>>> are mi
Chris Angelico :
> On Sun, Apr 2, 2017 at 2:43 AM, Marko Rauhamaa wrote:
>> It would be nice to be able to use a / in my file names. Funny
>> enough, I'm allowed to use a zillion unprintable characters in my
>> file names but no slashes allowed.
>>
>> Example:
>>
>>results-Q2/2017.json
>
> Bu
On Sun, 2 Apr 2017 02:43 am, Marko Rauhamaa wrote:
> Steve D'Aprano :
>
>> Open your eyes, there is a whole world past the borders of your insular,
>> close-minded little country. 95% of the world is not American, and there
>> are millions of Americans who want to use non-ASCII characters in thei
Passed along to postmas...@python.org, who generally takes care of this
sort of thing.
Skip
On Apr 1, 2017 11:19 AM, "Steve D'Aprano"
wrote:
> Can one of the mailing list moderators please remove this person's post for
> including a link to an anti-Semitic video by David Duke?
>
>
>
> On Sat, 1
I create a simple Django authentication app and work fine. now I want to add a
python script where to can do some simple image processing. my python script
for processing work fine and I put in the views.py. my question is the new
image created from the script how to can add back to image from m
On Sun, Apr 2, 2017 at 2:43 AM, Marko Rauhamaa wrote:
> Steve D'Aprano :
>
>> Open your eyes, there is a whole world past the borders of your insular,
>> close-minded little country. 95% of the world is not American, and there
>> are millions of Americans who want to use non-ASCII characters in th
Steve D'Aprano :
> Open your eyes, there is a whole world past the borders of your insular,
> close-minded little country. 95% of the world is not American, and there
> are millions of Americans who want to use non-ASCII characters in their
> file names, even non-Latin characters.
It would be nic
Can one of the mailing list moderators please remove this person's post for
including a link to an anti-Semitic video by David Duke?
On Sat, 1 Apr 2017 07:13 pm, Robert L. wrote:
Goyim were born [...]
web.archive.org/web/20101020044210/http://www.jpost.com/JewishWorld[...]
archive.org/download/
On Sat, 1 Apr 2017 12:17 pm, Rick Johnson wrote:
> Most people just quietly change the filename and move on
There are over a billion people in China, almost a billion more in India,
about 140 million people in Russia, nearly 130 million people in Japan, 250
million in Indonesia, about 290 millio
Umar Yusuf wrote:
> How do I read this json file correctly? Details at:
>
> http://stackoverflow.com/questions/43152368/python-unicodedecodeerror-charmap-codec-cant-decode-byte-0x81-in-position
Should you ever come back please take the time to post the "details" here.
Also, provide the tracebac
How do I read this json file correctly? Details at:
http://stackoverflow.com/questions/43152368/python-unicodedecodeerror-charmap-codec-cant-decode-byte-0x81-in-position
--
https://mail.python.org/mailman/listinfo/python-list
Hi ,
How to fix it and now i got below error for same script
*runtimeerror threads can only be started once then*
*Thanks,*
On Sat, Apr 1, 2017 at 1:15 PM, dieter wrote:
> Iranna Mathapati writes:
> > ...
> > Exception in thread Thread-5:
> > Traceback (most recent call last):
> > ...
> >
On 3/7/2017, Sayth Renshaw wrote:
> I have got this dictionary comprehension and it
> works but how can I do it better?
>
> from collections import Counter
>
> def find_it(seq):
> counts = dict(Counter(seq))
> a = [(k, v) for k,v in counts.items() if v % 3 == 0]
> return a[0][0]
>
Iranna Mathapati writes:
> ...
> Exception in thread Thread-5:
> Traceback (most recent call last):
> ...
> File
> "/auto/n3k-qa/CODC/ianandan/pyATS2.7/lib/python2.7/site-packages/pexpect/__init__.py",
> line 1466, in expect_list
> timeout, searchwindowsize)
> File
> "/auto/n3k-qa/CODC/ian
Yuheng Zou writes:
> ...
> I built a C++ library which contains EvalFrame function, and then use dlopen
> and dlsym to use it. It looks like this:
>
> extern "C" PyObject *EvalFrame(PyFrameObject *f, int throwflag) {
> return _PyEval_EvalFrameDefault(f, throwflag);
> }
> I added following cod
Hi team,
I tried to run fallowing run,
*jobs = []*
*sniffer1 = threading.Thread(target=validate_traffic_stats_dy,args=
(FT_item_dy,RT_item_dy,forward_path_list_dy,return_path_list_dy,nat_type_list_dy,pkt_dy_1,))*
*jobs.append(sniffer1)*
*sniffer2 =
threading.Thr
55 matches
Mail list logo