Dear all:
I'm trying to upload documentation to the PyPI site for a project I'm
working on (there's a "new feature" on the PyPI site that allows admins of
projects to upload a zip file of the pages of documentation.)
If you have admin access to a PyPI project, you can see this on the admin
page
Sewar writes:
> I looked at other daemon libraries and snippets, it's clearly the bug is in
> subprocess not python-daemon.
> Then I found Python bug #1731717 which discusses it.
Thank you very much! I'm glad to see this is a known issue and that some
investigation has already been done. (It's a
On 9/09/2009 1:57 AM, Timothy W. Grove wrote:
I have successfully built a windows installer for my python program
using distutils, (python setup.py bdist_wininst), but is there a way to
do it that will allow a user ('user' == 'boss', in this case!) to
designate the installation directory, rather
> would you expect the B class to have a copy of the foo method?
Sorta. I would expect B to have a copy of the "foo" attribute, which
then refers to the same method as A.foo. So the method itself will be
be copied, but its address stored separately in A.foo and B.foo.
--
http://mail.python.org/ma
On Tue, 2009-09-08 at 22:22 +0200, Angelo Ballabio wrote:
> My problem is a way to run a default application to read and show a
> pdf
> file from unix or windows, i have a mixed ambient in the office, so I
> am
> try to find a way to start a application to show this pdf file I
> generate whith r
On Sep 8, 4:50 pm, HPJ wrote:
> > would you expect the B class to have a copy of the foo method?
>
> Sorta. I would expect B to have a copy of the "foo" attribute, which
> then refers to the same method as A.foo. So the method itself will be
> be copied, but its address stored separately in A.foo
Musatov
Search for
Math Notations, Computer Languages, and the “Form ” in Formalism
(lacks links) - Math Notations, Computer
Languages, and the “Form” in Formalism Xah Lee, 2009-08-31 This page
is a collection of essays and expositions on the subjects of
nomenclatur
hello, i want to ask a question about numpy.
i know how to select a submatrix using the slice object in numpy. But
how can i select a submatrix
A[i1,i2,i3;j1,j2,j3] (elements in A on line i1,i2,i3 and column
j1,j2,j3 , and i1,i2,i3,j1,j2,j3 are all arbitrary numbers )
The submatrix must share dat
On 9 Sep, 00:24, Steven D'Aprano
wrote:
> A decent vendor-supplied implementation will include error checking that
> you otherwise would need to implement yourself, so yes.
Not for code like this:
>>> import numpy as np
>>> n = np.arange(101)
>>> w = 0.5*(1.0-np.cos(2*np.pi*n/(100.)))
--
On Mon 07 Sep 2009 10:57:01 PM EDT, Gabriel Genellina wrote:
> I prefer
> to use pkgutil.get_data(packagename, resourcename) because it can handle
> those cases too.
I didn't know about pkgutil until. I thought I had to use setuptools to
do that kind of stuff. Thanks!
Matt
--
http://mail.pyth
"TBK" wrote in message
news:b073f805-f8ce-49b3-b2d4-3d29bd97a...@j4g2000yqa.googlegroups.com...
*snip*
> >
> > > Download *snip URL*
> > > Free videos high resolution photos and much more. You know what to
> > > do! Free Downloads!
> >
> > Sold! Thanks everyone.
>
> spam
If you feel the need
On 9 Sep, 03:45, hi_roger wrote:
> hello, i want to ask a question about numpy.
>
> i know how to select a submatrix using the slice object in numpy. But
> how can i select a submatrix
> A[i1,i2,i3;j1,j2,j3] (elements in A on line i1,i2,i3 and column
> j1,j2,j3 , and i1,i2,i3,j1,j2,j3 are all arb
> Conceptually, Python checks for the presence of B.foo, and if it's
> not there it checks for foo's presence in the base classes.
Yes, I have no problem believing you guys that this is what Python
does. Still, my question remains about where in the Language Reference
this is specified. And if the
On 9/09/2009 1:51 PM, HPJ wrote:
Conceptually, Python checks for the presence of B.foo, and if it's
not there it checks for foo's presence in the base classes.
Yes, I have no problem believing you guys that this is what Python
does. Still, my question remains about where in the Language Referen
"Steven Lord" writes:
[snip]
> If you feel the need to respond to a spam like this, please snip out any
> URLs or email addresses used by the spammers -- otherwise all you're doing
> is giving the spammer more advertising.
Better yet, if you feel the need to respond to a spam, step away from
th
On 9 Sep, 03:45, hi_roger wrote:
> i know how to select a submatrix using the slice object in numpy. But
> how can i select a submatrix
> A[i1,i2,i3;j1,j2,j3] (elements in A on line i1,i2,i3 and column
> j1,j2,j3 , and i1,i2,i3,j1,j2,j3 are all arbitrary numbers )
You just pass an array of ints
On Sep 8, 6:23 pm, Rogério Brito wrote:
> Dear people,
>
> I am a newbie in Python and I'm just writing a program to rip the HTML parts
> of
> multipart/alternative e-mails that come with a plain text version.
>
> For this task, I decided to leave perl aside for this task and tried to code
> some
On Mon, Sep 7, 2009 at 3:30 PM, Carl Banks wrote:
>
> That's not what you did in your original post, though.
>
> Mixins should be listed first among bases, which is how you did it in
> your original post, and how it had to be in order for it to "just
> work" as I claimed.
>
> class FooX(MyMixin, Ba
*Hi, *
*I've searched google and cannot find a valid link for the source code of
the book "Rapid GUI Programming with Python and Qt". Could anyone please
give me a non-broken URL?*
Thanks.
*
*--
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer
narke
public key at htt
> http://docs.python.org/reference/datamodel.html#new-style-and-classic...
> - search for 'method resolution order' for other hits in that document.
First of all, that's the LR for Python 2, I'm with Python 3. Second of
all, there's one single passage containing the phrase "method
resolution order
And by the way, the reason I've come across this problem at all is
because I have something like this:
class A:
class X:
n = 'a'
x = X()
class B(A):
class X(A.X):
n = 'b'
# x = X()
The line commented out was originally not there, but I found out I had
to add it if I wanted B().x.n
On Tue, 08 Sep 2009 13:14:42 -0700, HPJ wrote:
>> I could, but I will let you read and find what it says about class
>> attributes.
>
> You think I would have asked specifically about the Language Reference
> if I hadn't read it and failed to find what I was looking for?
You must be new to the
On Sep 8, 8:51 pm, HPJ wrote:
> > Conceptually, Python checks for the presence of B.foo, and if it's
> > not there it checks for foo's presence in the base classes.
>
> Yes, I have no problem believing you guys that this is what Python
> does. Still, my question remains about where in the Language
I should also mention--and I should have realized this much
sooner--that each of the BaseN classes are themselves each going to
have at least one common base which will define method_x, so each
BaseN will be calling that if it defines its own method_x. Again,
sorry I didn't mention that sooner. For
101 - 124 of 124 matches
Mail list logo