On Thu, 19 Mar 2015 14:57:33 -0700 (PDT), bv4bv4...@gmail.com wrote:
>Monotheism - One God
There is no God but Monty, and Python is his prophet.
--
Terms and conditions apply.
Steve Hayes
hayesm...@hotmail.com
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, 20 March 2015 15:20:41 UTC+11, Sayth Renshaw wrote:
> HI
>
> Probably very easy question.
>
> If I have a section of html.
>
>
> App
> Approaching
> D/N
> Did nothing
> DGO
> Didn't go on
> DRO
> Didn't run on
> H/In
> Hung in
> H/Out
> Hung out
>
>
> I can easily get the class va
On Thu, 19 Mar 2015 21:20:30 -0700, Sayth Renshaw wrote:
> But how can I get the value of the following td
# find all tds with a class attribute of "abbreviation"
abbtds = soup.find_all("td", attrs={"class": "abbreviation"})
# display the text of each abbtd with the text of the next td
for td
On Fri, 20 Mar 2015 07:23:22 +, Denis McMahon wrote:
> print td.get_text(), td.find_next_sibling().get_text()
A slightly better solution might even be:
print td.get_text(), td.find_next_sibling("td").get_text()
--
Denis McMahon, denismfmcma...@gmail.com
--
https://mail.python.org/mail
On Fri, 20 Mar 2015 00:18:33 -0700, Sayth Renshaw wrote:
> Just finding it odd that the next sibling is a "\n" and not the next
> otherwise that would be the perfect solution.
Whitespace between elements creates a node in the parsed document. This
is correct, because whitespace between elements
Dear all,
We are very happy to announce a new release of Diffusion Imaging in Python
(DIPY)
Here is a quick summary of our new features.
DIPY 0.9.2 (Wednesday, 18 March 2015)
* Anatomically Constrained Tissue Classifiers for Tracking
* Massive speedup of Constrained Spherical Deconvolution (CSD
Thanks.
I couldn't get that second text out.
You can use the simpler css class selector I used before in bs4 after 4.1 .
The longer version was used to overcome class clashing with the reserved
keyword in previous versions.
--
https://mail.python.org/mailman/listinfo/python-list
Hi everyone.
Hope you can help me overcome this "noob" issue.
I have two numpy arrays:
>>> P
array([[[ 2, 3],
[33, 44],
[22, 11],
[ 1, 2]]])
>>> R
array([0, 1, 2, 3])
the values of these may of course be different. The important fact is that:
>>> P.shape
(1, 4, 2)
>>>
In article <550bbfc1$0$13010$c3e8da3$54964...@news.astraweb.com>,
Steven D'Aprano wrote:
> I cannot remember the details, and I don't have my copy of the Apple
> Standard Numerics manual here to look it up
Amongst the details you don't remember is the correct name :-) It was
Standard Apple N
On 03/20/15 at 01:46pm, Mr. Twister wrote:
> I have two numpy arrays:
>
> >>> P
> array([[[ 2, 3],
> [33, 44],
> [22, 11],
> [ 1, 2]]])
> >>> R
> array([0, 1, 2, 3])
>
> the values of these may of course be different. The important fact is that:
>
> >>> P.shape
> (1,
On 03/20/15 at 02:11pm, Manolo Martínez wrote:
> On 03/20/15 at 01:46pm, Mr. Twister wrote:
>
> > I have two numpy arrays:
[...]
> > Is there a direct, single expression command to get this result?
>
> I think that you want
>
> P * R[;,None]
Sorry, I meant
P * R[:, None]
Manolo
On Friday, March 20, 2015 at 10:39:48 AM UTC+5:30, Ben Finney wrote:
> Chris Angelico writes:
>
> > Real numbers, yes […] but not IEEE floating point. Be careful of that
> > distinction; we're talking about computers here, not mythical numbers.
>
> So real numbers are mythical? IEEE floating poi
>> I think that you want
>>
>> P * R[;,None]
>
> Sorry, I meant
>
> P * R[:, None]
>
> Manolo
Muchísimas gracias, Manolo. Eres un genio y me has ayudado mucho. Te debo una.
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, March 20, 2015 at 12:06:00 PM UTC+5:30, Steven D'Aprano wrote:
> On Friday 20 March 2015 14:47, Rustom Mody wrote:
> > Not too many people are interested in float independent of ℝ except
> > perhaps hardware designers who need to design respecting the IEEE
> > standard.
>
> I don't unde
Rustom Mody :
> In all fairness to Chris, there have been notable mathematicians in
> the last 100 years who have said more or less exactly what Chris is
> saying: "The set ℝ is nonsense."
Intuitionism is nonsense.
> In fact these fights are the very reason that CS came into existence.
I trace
On Fri, 20 Mar 2015 02:40:26 -0700 (PDT), wxjmfa...@gmail.com wrote:
>
>Python 3.x is excellent.
>Probably, the best language to show a
>poor and buggy Unicode implementation
>(Character Encoding Model).
>
>When I think other computer languages or
>Unicode related tools are all doing wrong.
>That's
On Fri, 20 Mar 2015 15:59:01 +0100, Mario Figueiredo
wrote:
>
>Ah. So you are on the Python 3 unicode support sucks bandwagon too?
>
>Bet you guys have a whole lot of fun there. Rave parties, trashing,
>getting mad at something. Sounds fun.
>
>Over here, on the Python 3 unicode support is just fi
-
On Thu, Mar 19, 2015 12:16 AM CET Steven D'Aprano wrote:
>On Thu, 19 Mar 2015 07:22 am, Albert-Jan Roskam wrote:
>
>>
>>
>> On Wed, Mar 18, 2015 7:06 PM CET Rustom Mody wrote:
>>
>>On Wednesday, March 18, 2015 at 8:12:12 PM UTC+5:30, Ro
On 20/03/2015 14:59, Mario Figueiredo wrote:
On Fri, 20 Mar 2015 02:40:26 -0700 (PDT), wxjmfa...@gmail.com wrote:
Python 3.x is excellent.
Probably, the best language to show a
poor and buggy Unicode implementation
(Character Encoding Model).
When I think other computer languages or
Unicode re
On Sat, Mar 21, 2015 at 2:42 AM, Mark Lawrence wrote:
> Please don't feed the RUE.
Yeah, you'll RUE the day you get sucked into a conversation with a troll...
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
Thanks again. Macports didn't have the latest pyobjc, but pip updated my
installation to the fixed version. Problem solved.
Tim
On 20/03/2015 00:18, michael h wrote:
Did you see this:
https://bitbucket.org/ronaldoussoren/pyobjc/issue/95/attributeerror-in-some-cases-when-checking
On Thu, Ma
Hi everyone,
just like the title says I'm searching for a mechanism which allows to call a
callback function from a thread, being the callback executed in the parent
thread (it can also be the main thread). I'm basically looking for something
like the CallAfter method of the wx or the signal sl
[I thought I'd seen a discussion of this recently, but I can't seem to
find the right keyword.]
I need to automate operation of a Windows application. It's a
conformance test app from a standards organizaiton, and it's
_stunningly_ bad. You have to sit it front of it like some sort of
brainless
On 2015-03-20, Grant Edwards wrote:
> I need to automate operation of a Windows application.
I should have mentioned that I've found and am going to experiment
a bit with pywinauto-0.4.0, but if there is anything else I should
look at, suggestions would be welcome.
--
Grant Edwards
On Fri, Mar 20, 2015 at 11:29 AM, wrote:
> Hi everyone,
>
> just like the title says I'm searching for a mechanism which allows to call a
> callback function from a thread, being the callback executed in the parent
> thread (it can also be the main thread). I'm basically looking for something
Years and years ago we found a module called ntsvc which allows us to run as a
Service on Windows.
We’ve been using it since well before 2011 to build 32-bit services on Windows
with py2exe.
If you contact me directly, I’ll dig it out of our source tree and post it on a
shared location.
Alterna
On Fri, Mar 20, 2015 at 2:10 PM, Grant Edwards wrote:
> I need to automate operation of a Windows application.
I've used Sikuli (http://www.sikuli.org/) for similar things in the
past. It's an automation framework built on Jython, and it worked
great for what I needed at the time.
I think AutoH
On 2015-03-20, Jerry Hill wrote:
> On Fri, Mar 20, 2015 at 2:10 PM, Grant Edwards
> wrote:
>> I need to automate operation of a Windows application.
>
> I've used Sikuli (http://www.sikuli.org/) for similar things in the
> past. It's an automation framework built on Jython, and it worked
> grea
I can write a member
F.__iadd__ (self, *args)
and then call it with 2 args:
f = F()
f.__iadd__ (a, b)
And then args is:
(a, b)
But it seems impossible to spell this as
f += a, b
That, instead, results in
args = ((a, b),)
So should I just abandon the idea that += could be used this way?
On Fri, Mar 20, 2015 at 3:25 PM, Neal Becker wrote:
> I can write a member
>
> F.__iadd__ (self, *args)
>
> and then call it with 2 args:
>
> f = F()
> f.__iadd__ (a, b)
>
> And then args is:
> (a, b)
>
> But it seems impossible to spell this as
>
> f += a, b
>
> That, instead, results in
>
> args
Hi all, I'm currently looking for a PDF parser/writer library so I can
programmatically fill in some PDF forms. I've found PDF2
(https://pypi.python.org/pypi/PyPDF2/1.24), and report lab
(https://pypi.python.org/pypi/reportlab), and I can see that there are a LOT
more PDF frameworks out there
On Sat, 21 Mar 2015 08:25 am, Neal Becker wrote:
> I can write a member
>
> F.__iadd__ (self, *args)
>
> and then call it with 2 args:
>
> f = F()
> f.__iadd__ (a, b)
>
> And then args is:
> (a, b)
If you find yourself explicitly calling dunder methods like __iadd__, that's
a sign you are tr
On Friday, March 20, 2015 at 7:40:31 PM UTC+5:30, Marko Rauhamaa wrote:
> Rustom Mody:
>
> > In all fairness to Chris, there have been notable mathematicians in
> > the last 100 years who have said more or less exactly what Chris is
> > saying: "The set ℝ is nonsense."
>
> Intuitionism is nonsens
Rustom Mody :
> However I am talking some historical facts, viz: Because some nuts did
> the 20th century equivalent of: "Break each others' heads about how
> many angels can dance on the head of a pin" therefore much of the
> world around us exists as it does (for better or worse) including my
>
34 matches
Mail list logo