Hi,
> config = {id: 1, canvas: (3840, 1024), comment: "a comment",
> {id: 4, gate: 3, (0,0, 1280, 1024)},
> {id: 5, gate: 2, (1280, 0, 2560, 1024)},
> {id: 6, gate: 1, (2560, 0, 3840, 1024)}}
This is not valid Python. Are you trying to have a list of d
>From my first foray into XML with Python:
I would like to retrieve this list from the XML upon searching for the 'config'
with id attribute = 'B'
config = {id: 1, canvas: (3840, 1024), comment: "a comment",
{id: 4, gate: 3, (0,0, 1280, 1024)},
{id: 5, gate: 2,
Cameron Simpson writes:
> Besides, changing the Subject line is _supposed_ to break the
> threading in these contexts: such clients clearly consider the
> discussion topic (subject) as sufficient definition of a thread, and
> changing the topic should imply a new thread to such simplistic
> client
Hi Peter,
Thanks for the response! Several things you stated definitely got me
thinking. I really appreciate the response. I used what you said and I am
able to accomplish what I needed.
Thanks!
Aaron
On Mon, Dec 21, 2015 at 7:23 PM, Peter Otten <__pete...@web.de> wrote:
> Aaron Christense
On 22Dec2015 10:14, Steven D'Aprano wrote:
On Tue, 22 Dec 2015 08:44 am, Jon Ribbens wrote about mail clients that use
the Subject line to thread messages:
Also: Thunderbird, The Bat!, Eudora, Gnus, Outlook, Outlook Express,
Pegasus Mail, Pine, Apple Mail, Windows Live Mail, Yahoo Mail,
Evolut
On Sunday, December 20, 2015 at 10:22:57 PM UTC-6, Chris Angelico wrote:
> DuckDuckGo doesn't give a result count, so I skipped it. Yahoo search yielded:
So why bother to mention it then? Is this another one of your "pikeish"
propaganda campaigns?
--
https://mail.python.org/mailman/listinfo/pyth
On Tue, Dec 22, 2015 at 11:17 AM, Ian Kelly wrote:
> On Dec 21, 2015 4:55 PM, "Terry Reedy" wrote:
>>
>> Nothing has changed since except for
>> https://www.python.org/dev/peps/pep-0498/
>> already added to 3.6.
>
> https://xkcd.com/927/
The 927ness of it was discussed at length prior to impleme
Aaron Christensen wrote:
> Hello,
>
> I am trying to figure out how to populate a shelve file with a nested
> dictionary.
>
> These are my requirements:
>
> -Create shelve file called people.db
> -Append the shelve file with new people (person_1, person_2, etc.).
> -Use a for loop to iterate th
On Dec 21, 2015 4:55 PM, "Terry Reedy" wrote:
>
> Nothing has changed since except for
> https://www.python.org/dev/peps/pep-0498/
> already added to 3.6.
https://xkcd.com/927/
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, Dec 22, 2015 at 10:53 AM, Terry Reedy wrote:
> Nothing has changed since except for
> https://www.python.org/dev/peps/pep-0498/
> already added to 3.6.
And the flip side of the argument is
https://www.python.org/dev/peps/pep-0461/ in 3.5, expanding on percent
formatting. Both are useful,
On Mon, Dec 21, 2015 at 4:24 PM, Jon Ribbens
wrote:
> On 2015-12-21, Steven D'Aprano wrote:
>> The whole purpose of the change of subject is to indicate in a human-visible
>> way that the subject of the thread has changed, i.e. that it is a new
>> thread derived from the old one. If that breaks t
On 12/21/2015 9:05 AM, Thomas 'PointedEars' Lahn wrote:
Chris Angelico wrote:
On Tue, Dec 22, 2015 at 12:19 AM, Thomas 'PointedEars' Lahn
wrote:
Mark Lawrence wrote:
On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote:
Chris Angelico wrote:
But it's been clearly stated that .format is not
In a message of Mon, 21 Dec 2015 17:51:00 +, Grant Edwards writes:
>Is there a standard library function that can be used to encode data
>into multipart/form-data format? IIRC, I looked for this once before
>and didn't find anything in the library.
>
>[I don't want to actually send an HTTP PO
On Tue, 22 Dec 2015 09:27 am, Thomas 'PointedEars' Lahn wrote:
[...]
> No, it is not. Your logic is flawed, too, pseudonymous nobody with the
> unreadable posting style.
If its unreadable, how do you know what it says?
"PointedEars", you're doing a marvellous job of acting like a self-righteous
On 2015-12-21, Steven D'Aprano wrote:
> On Tue, 22 Dec 2015 08:44 am, Jon Ribbens wrote about mail clients that use
> the Subject line to thread messages:
>> Also: Thunderbird, The Bat!, Eudora, Gnus, Outlook, Outlook Express,
>> Pegasus Mail, Pine, Apple Mail, Windows Live Mail, Yahoo Mail,
>> Ev
On Tue, 22 Dec 2015 08:44 am, Jon Ribbens wrote about mail clients that use
the Subject line to thread messages:
> Also: Thunderbird, The Bat!, Eudora, Gnus, Outlook, Outlook Express,
> Pegasus Mail, Pine, Apple Mail, Windows Live Mail, Yahoo Mail,
> Evolution, SquirrelMail, KMail, Windows Mail, e
Jon Ribbens wrote:
> On 2015-12-21, Ian Kelly wrote:
>> I can't specifically recall if I've used any MUA other than Gmail that
>> even attempts threading email messages.
>
> Also: Thunderbird, The Bat!, Eudora, Gnus, Outlook, Outlook Express,
> Pegasus Mail, Pine, Apple Mail, Windows Live Mail,
Hello,
I am trying to figure out how to populate a shelve file with a nested
dictionary.
These are my requirements:
-Create shelve file called people.db
-Append the shelve file with new people (person_1, person_2, etc.).
-Use a for loop to iterate through 'attributes' so that I do not need to
wr
Hello,
I am trying to figure out how to populate a shelve file with a nested
dictionary.
These are my requirements:
-Create shelve file called people.db
-Append the shelve file with new people (person_1, person_2, etc.).
-Use a for loop to iterate through 'attributes' so that I do not need to w
On 2015-12-21, Ian Kelly wrote:
> On Mon, Dec 21, 2015 at 1:58 PM, Ben Finney
> wrote:
>> Ian Kelly writes:
>>> This isn't just a Usenet group; it's also a mailing list, and many
>>> MUAs rely on the Subject header for proper threading.
>>
>> If such MUAs do that, they're misinterpreting the Su
On Mon, Dec 21, 2015 at 1:58 PM, Ben Finney wrote:
> Ian Kelly writes:
>> This isn't just a Usenet group; it's also a mailing list, and many
>> MUAs rely on the Subject header for proper threading.
>
> If such MUAs do that, they're misinterpreting the Subject field. Other
> fields are available w
Ian Kelly writes:
> Better yet, please don't change the Subject header for trivial reasons
> in the first place.
When the subject of the ongoing discussion changes, it's normal to
change the Subject field accordingly.
I agree with your admonition against trivial alterations to that field;
I hop
On Sun, Dec 20, 2015 at 3:46 PM, Thomas 'PointedEars' Lahn
wrote:
> Chris Angelico wrote:
>
>> On Mon, Dec 21, 2015 at 8:22 AM, Thomas 'PointedEars' Lahn
>> wrote:
>
> It is supposed to be an attribution *line*, _not_ an attribution novel.
> Also, the “(was: …)” part is to be removed from the Sub
On 2015-12-21, Dennis Lee Bieber wrote:
> On Mon, 21 Dec 2015 13:40:21 +0100, "Skybuck Flying"
> declaimed the following:
>
>>The original idea I posted is less about sending a signal to another
>>processor.
>>
>>It is more about how to break out of an instruction sequence.
>>
>>Example of proble
I am doing a machine learning project and I need ARFF files to feed my data to
Weka.
How can I use word2-vec to produce ARFF files.
An example would be much helpful.
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, Dec 21, 2015 at 3:08 AM, Animesh Srivastava wrote:
> While installin python3.5.1 i m getting 0xc07b error
0xC07B is STATUS_INVALID_IMAGE_FORMAT, so there's something wrong
with the executable. Try clearing your browser cache and download the
installer again.
--
https://mail.pytho
On Fri, Dec 18, 2015 at 9:15 PM, Osvaldo Dias dos Santos
wrote:
>
> Pressing the tilde key my iMac portuguese keyboard quits IDLE
> unexpectedly (along with any associated files I may be working
> on, including code).
>
> The keyboard image is attached. The tilde key is the second
> orange one fro
Robert wrote:
> Hi,
>
> I find a useful code snippet on link:
>
> http://stackoverflow.com/questions/25126444/logistic-regression-in-pymc/34400966#34400966
>
> but it has error on plot function. The error message is as following:
> -
> %run "C:\Users\rj\pyprj\logic_regression0.py"
> [--
Is there a standard library function that can be used to encode data
into multipart/form-data format? IIRC, I looked for this once before
and didn't find anything in the library.
[I don't want to actually send an HTTP POST or an email message, I
just need to generate sets of data for test purpos
On Mon, 21 Dec 2015 09:29:24 -0800 (PST), Robert wrote:
> On Monday, December 21, 2015 at 12:15:54 PM UTC-5, Robert wrote:
>> Hi,
>>
>> I find a useful code snippet on link:
>>
>> http://stackoverflow.com/questions/25126444/logistic-regression-in-pymc/34400966#34400966
>>
>> but it has error on
On 21/12/15 16:49, Ian Kelly wrote:
> On Mon, Dec 21, 2015 at 9:40 AM, duncan smith wrote:
>> Finite state machine / transition matrix. Learn from some English text
>> source. Then process your strings by lower casing, replacing underscores
>> with spaces, removing trailing numeric characters etc.
On Monday, December 21, 2015 at 12:15:54 PM UTC-5, Robert wrote:
> Hi,
>
> I find a useful code snippet on link:
>
> http://stackoverflow.com/questions/25126444/logistic-regression-in-pymc/34400966#34400966
>
> but it has error on plot function. The error message is as following:
> -
> %
Steven D'Aprano writes:
> Does anyone have any suggestions for how to do this? Preferably something
> already existing. I have some thoughts and/or questions:
I think I'd just look at the set of digraphs or trigraphs in each name
and see if there are a lot that aren't found in English.
> - I thi
Hi,
I find a useful code snippet on link:
http://stackoverflow.com/questions/25126444/logistic-regression-in-pymc/34400966#34400966
but it has error on plot function. The error message is as following:
-
%run "C:\Users\rj\pyprj\logic_regression0.py"
[-100%
On 21/12/2015 16:49, Ian Kelly wrote:
On Mon, Dec 21, 2015 at 9:40 AM, duncan smith wrote:
Finite state machine / transition matrix. Learn from some English text
source. Then process your strings by lower casing, replacing underscores
with spaces, removing trailing numeric characters etc. Base
On Mon, Dec 21, 2015 at 9:40 AM, duncan smith wrote:
> Finite state machine / transition matrix. Learn from some English text
> source. Then process your strings by lower casing, replacing underscores
> with spaces, removing trailing numeric characters etc. Base your score
> on something like the
On 21/12/15 03:01, Steven D'Aprano wrote:
> I have a large number of strings (originally file names) which tend to fall
> into two groups. Some are human-meaningful, but not necessarily dictionary
> words e.g.:
>
>
> baby lions at play
> saturday_morning12
> Fukushima
> ImpossibleFork
>
>
> (no
Thomas 'PointedEars' Lahn writes:
> Chris Angelico wrote:
CA Proof that percent formatting isn't planned for deprecation, much less
CA removal.
TL>>> Then it would have failed to accomplish that.
CA There is strong support for it in certain quarters of python-dev. […]
TL>>> There *was*.
On Mon, Dec 21, 2015 at 6:49 AM, Mark Lawrence wrote:
> On 19/12/2015 17:45, Renato Emanuel Dysangco wrote:
>>
>> hello
>>
>> is an **.msi* version of your *Python 3.5.1 (32 bit)* in the pipeline
>> soon?
>>
>> thanks for your time
>>
>
> msi files are not being made available for 3.5.
Correction
On 21/12/2015 14:19, Thomas 'PointedEars' Lahn wrote:
Chris Angelico wrote:
[…] Thomas 'PointedEars' Lahn […] wrote:
Chris Angelico wrote:
[…] Thomas 'PointedEars' Lahn […] wrote:
Mark Lawrence wrote:
On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote:
Chris Angelico wrote:
But it's bee
Chris Angelico wrote:
> […] Thomas 'PointedEars' Lahn […] wrote:
>> Chris Angelico wrote:
>>> […] Thomas 'PointedEars' Lahn […] wrote:
Mark Lawrence wrote:
> On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote:
>> Chris Angelico wrote:
>>> But it's been clearly stated that .forma
On Tue, Dec 22, 2015 at 1:05 AM, Thomas 'PointedEars' Lahn
wrote:
> Chris Angelico wrote:
>
>> On Tue, Dec 22, 2015 at 12:19 AM, Thomas 'PointedEars' Lahn
>> wrote:
>>> Mark Lawrence wrote:
On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote:
> Chris Angelico wrote:
>> But it's been
Chris Angelico wrote:
> On Tue, Dec 22, 2015 at 12:19 AM, Thomas 'PointedEars' Lahn
> wrote:
>> Mark Lawrence wrote:
>>> On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote:
Chris Angelico wrote:
> But it's been clearly stated that .format is not going to do away with
> percent form
On Mon, Dec 21, 2015 at 7:25 AM, Vlastimil Brom
wrote:
> > baby lions at play
> > saturday_morning12
> > Fukushima
> > ImpossibleFork
> >
> >
> > (note that some use underscores, others spaces, and some CamelCase) while
> > others are completely meaningless (or mostly so):
> >
> >
> > xy39mGWbosj
2015-12-21 4:01 GMT+01:00 Steven D'Aprano :
> I have a large number of strings (originally file names) which tend to fall
> into two groups. Some are human-meaningful, but not necessarily dictionary
> words e.g.:
>
>
> baby lions at play
> saturday_morning12
> Fukushima
> ImpossibleFork
>
>
> (note
On Tue, Dec 22, 2015 at 12:19 AM, Thomas 'PointedEars' Lahn
wrote:
> Mark Lawrence wrote:
>
>> On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote:
>>> Chris Angelico wrote:
But it's been clearly stated that .format is not going to do away with
percent formatting, and all language of "n
Mark Lawrence wrote:
> On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote:
>> Chris Angelico wrote:
>>> But it's been clearly stated that .format is not going to do away with
>>> percent formatting, and all language of "new-style formatting" has been
>>> removed so as not to cause confusion.
>>
On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote:
Chris Angelico wrote:
But it's been clearly stated that .format is not going to do away with
percent formatting, and all language of "new-style formatting" has been
removed so as not to cause confusion.
Wishful thinking, twice.
http://w
On 19/12/2015 17:45, Renato Emanuel Dysangco wrote:
hello
is an **.msi* version of your *Python 3.5.1 (32 bit)* in the pipeline soon?
thanks for your time
msi files are not being made available for 3.5.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do
The original idea I posted is less about sending a signal to another
processor.
It is more about how to break out of an instruction sequence.
Example of problem:
Main:
while Condition1 do
begin
while Condition2 do
begin
while Condition3 do
begin
Routine1
e
On 2015-12-20, Emil Natan wrote:
> I have the following function to find the parent for domain. It removes the
> left most label from the name and then checks if SOA record exists for the
> reminder, if not it calls itself recursively removing another label and
> checking again for SOA record. It
I'm completely new to Python.
I have the following function to find the parent for domain. It removes the
left most label from the name and then checks if SOA record exists for the
reminder, if not it calls itself recursively removing another label and
checking again for SOA record. It works well f
Hello.
I get an error saying "api-ms-win-crt-runtime-l1-1-0.dll is missing"
Can you tell me how to fix this.
Thanks
--
https://mail.python.org/mailman/listinfo/python-list
hello
is an **.msi* version of your *Python 3.5.1 (32 bit)* in the pipeline soon?
thanks for your time
--
https://mail.python.org/mailman/listinfo/python-list
Hi,
Pressing the tilde key my iMac portuguese keyboard quits IDLE unexpectedly
(along with any associated files I may be working on, including code).
The keyboard image is attached. The tilde key is the second orange one from the
top.
This key is very important in this language, because press
I am receiving this error while installing python interpreter version 3.5.1 (32
bit)
Error is " This program cannot start because api-ms-win-crt-runtime-l1-1-0.dll
is missing from your computer"
I reinstalled this file but again this error message
What should I do to remove this issue kindly h
While installin python3.5.1 i m getting 0xc07b error
Please reslove it
--
https://mail.python.org/mailman/listinfo/python-list
Am 21.12.15 um 11:53 schrieb Christian Gollwitzer:
So for the spaces, either use a proper trainig material (some long
corpus from Wikipedia or such), with punctuation removed. Then it will
catch the correct probabilities at word boundaries. Or preprocess by
removing the spaces.
Christian
Am 21.12.15 um 11:36 schrieb Steven D'Aprano:
On Mon, 21 Dec 2015 08:56 pm, Christian Gollwitzer wrote:
Apfelkiste:Tests chris$ python score_my.py
-8.74 baby lions at play
-7.63 saturday_morning12
-6.38 Fukushima
-5.72 ImpossibleFork
-10.6 xy39mGWbosjY
-12.9 9sjz7s8198ghwt
-12.1 rz4sdko-
On Mon, 21 Dec 2015 08:56 pm, Christian Gollwitzer wrote:
> Apfelkiste:Tests chris$ python score_my.py
> -8.74 baby lions at play
> -7.63 saturday_morning12
> -6.38 Fukushima
> -5.72 ImpossibleFork
> -10.6 xy39mGWbosjY
> -12.9 9sjz7s8198ghwt
> -12.1 rz4sdko-28dbRW00u
> Apfelkiste:Tests chri
On Wednesday, December 16, 2015 at 11:53:14 PM UTC+5:30, George Trojan wrote:
> I installed Python 3.1 on RHEL 7.2. The command make test hangs (or
> takes a lot of time) on test_subprocess.
>
> [396/397] test_subprocess
> ^C
> Test suite interrupted by signal SIGINT.
> 5 tests omitted:
> t
Am 21.12.15 um 09:24 schrieb Peter Otten:
Steven D'Aprano wrote:
I have a large number of strings (originally file names) which tend to
fall into two groups. Some are human-meaningful, but not necessarily
dictionary words e.g.:
baby lions at play
saturday_morning12
Fukushima
ImpossibleFork
On Monday 21 December 2015 15:22, Chris Angelico wrote:
> On Mon, Dec 21, 2015 at 2:01 PM, Steven D'Aprano
> wrote:
>> I have a large number of strings (originally file names) which tend to
>> fall into two groups. Some are human-meaningful, but not necessarily
>> dictionary words e.g.:
[...]
>
On Monday 21 December 2015 14:45, Ben Finney wrote:
> Steven D'Aprano writes:
>
>> Let's call the second group "random" and the first "non-random",
>> without getting bogged down into arguments about whether they are
>> really random or not.
>
> I think we should discuss it, even at risk of get
Steven D'Aprano wrote:
> I have a large number of strings (originally file names) which tend to
> fall into two groups. Some are human-meaningful, but not necessarily
> dictionary words e.g.:
>
>
> baby lions at play
> saturday_morning12
> Fukushima
> ImpossibleFork
>
>
> (note that some use u
65 matches
Mail list logo