We are excited to announce the new EuroPython Society Fellow Grant.
The grant is intended to honor and show gratitude towards members of the
EuroPython Society (EPS) and the EuroPython Workgroups who have
contributed significantly towards our mission, the EuroPython conference
and the Society as a
We’re happy to release another batch of 41 cut videos of EuroPython 2021
covering the third day sessions of the conference and a number of edited
videos for the previous days. In total, we now have 118 videos waiting
for you. You can watch them on our YouTube channel. We have created a
EuroPython 2
Gianluca Sartori wrote:
> Hi guys,
>
> What web framework do you suggest to develop with? I had a look both
at
> Nevow and Quixote. These seemes to be the most appreciated by the
> community. Anyway, I had no luck looking for a complete and coherent
> documentation.
>
> Thanks for any suggestion,
You should definitely have a look at Zope 3. There is good
documentation available and it can do a lot of good stuff.
--
http://mail.python.org/mailman/listinfo/python-list
How do I define a function, then import it, without having to save it
in lib; like "C:\python25\lib". ?
--
http://mail.python.org/mailman/listinfo/python-list
I started reading the beginning Python book. It is intended for people
who are starting out in the Python world. But it is really
complicated, because he tries to explain, then after a bad explanation
he puts out a bad example. I really recommend NOT reading the book.
For it will make you want not
I´m trying to desenvolve a site in python. Any recommendation on
literature or sites I shoul see. Being that I´m a low experienced
programmer, if even I could be cald one lol, but any information would
really help!
--
http://mail.python.org/mailman/listinfo/python-list
On 17 set, 17:08, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Mon, 17 Sep 2007 15:28:27 -0300, Arnaud Delobelle
> <[EMAIL PROTECTED]> escribi?:
>
> > On Sep 17, 7:14 pm, Bjoern Schliessmann > [EMAIL PROTECTED]> wrote:
> >> Andre P.S Dua
How can I, in python (linux, python version >= 2.4.2), dynamically set
the path and import a binary module that depends on libraries which
are not declared in LD_LIBRARY_PATH or any other automated linker path
when python starts?
This is a an example:
Suppose I have a new python module, called My
Hi list,
could someone recommend a good python ogl package (open source is preferred) ?
I found these ones so far:
http://pyopengl.sourceforge.net/
http://wiki.wxpython.org/wxOGL
thanks
-mab
--
http://mail.python.org/mailman/listinfo/python-list
I guess you could just define an entry-point in your source provider files that
would return a specific instance of an InformationProvider class. This
entry-point would be called by your main app (maybe at startup time or during
an update phase).
There are plenty of articles on the web about py
s[my_dynamic_list] = []
Maybe you tell us some more what you want to achieve...
Regards
Andre
--
http://mail.python.org/mailman/listinfo/python-list
l I can find is more complex games using
> Pygame. Can anyone help me out here?
Recently someone posted this link on the list, which might be interesting:
http://inventwithpython.com/index.html
Regards
Andre
--
http://mail.python.org/mailman/listinfo/python-list
type=numpy.int)
>>> signs[3::5] = -1
>>> signs[4::5] = -1
>>> numpy.sum(signs*squares)
536926141
Cheers
Andre
--
http://mail.python.org/mailman/listinfo/python-list
de)
>>> S = lambda k: (50*k**3 - 165*k**2 - 47*k) / 6
>>> S(2010/5)
536926141
However, this only works for full cycles of (1,1,1,-1,-1) and you would
have to add/subtract the modulus parts yourself. (e.g. if you are
interested in your sum from 1..2011...
Cheers
Andre
--
http://
lution
through cython. As Steven D'Aprano already pointed out this then will
make me receive the second price of two nights out?
Cheers
Andre
--
http://mail.python.org/mailman/listinfo/python-list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 06/18/2010 05:53 PM, Mark Lawrence wrote:
> Andre, looks like a really bad day for you then, *TWO* nights out with
> me *AND* (looking at your email address) Germany loosing in the world
> cup. :(
There are days one looses and there are
ge output?
Andre
--
http://mail.python.org/mailman/listinfo/python-list
is is already possible but just not covered by the first link
I've read by now.
Anyway, I very much like this package and it seems like I have a new
friend at my disposal.
Thanks and best regards
Andre
--
http://mail.python.org/mailman/listinfo/python-list
d this is already possible and covered in the advanced document.
> See the section containers of commands:
>
> http://micheles.googlecode.com/hg/plac/doc/plac_adv.html#containers-of-commands
Great. :) I'll read it...
Andre
--
http://mail.python.org/mailman/listinfo/python-list
interested in the csv module
http://docs.python.org/library/csv.html
Regards
Andre
--
http://mail.python.org/mailman/listinfo/python-list
t to use classes if the dict approach works
great?
Regards
Andre
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkwgo10ACgkQnuHMhboRh6QpCACePUckiiafgAM/h65/THfFQNgZ
RmwAn35of1VvLTNALA/pTme5gKA8g683
object in the other index dict.
Modifying users['jdoe'] would modify secnums[12345]!
This is what you actually want from an index...
> How do I iterate through and access an individual user record!
You iterate over the index...
Andre
--
http://mail.python.org/mailman/listinfo/python-list
nary would need the ability to store keys (variable
names) without values.
This approach increases the code length considerably, just to catch the
typos.
Keep in mind that the module you are writing in is just an object as is
any function or method. So using local variables therein you are doing
exactly what you want to abandon from the OOP part.
Regards
Andre
--
http://mail.python.org/mailman/listinfo/python-list
On 06/29/2010 06:46 PM, WANG Cong wrote:
> On 06/29/10 17:48, Andre Alexander Bell wrote:
>>>>> var a
>>>>> a
>> -> should raise an variable 'unset' exception
>>
>> Keep in mind that the module you are writing in is just an object a
g
You might want to read through the tutorials given in the documentation
at the Nokia site and possibly take a look at the examples provided
with, e.g. PyQt.
I'm sure other will add in more valuable links and suggestions.
Best regards
Andre
--
http://mail.python.org/mailman/listinfo/python-list
ble name reflect it's purpose instead
of it's type? E.g.
name = 'rantingrick'
counter = 1
...
as compared to
str = 'rantingrick'
int = 1?
Regards
Andre
--
http://mail.python.org/mailman/listinfo/python-list
ain__':
test_objects = [Test() for i in range(10)]
print test_objects[0].value
Andre
--
http://mail.python.org/mailman/listinfo/python-list
cummulative_sum(value):
global current
current += value
return current
>>> map(cummulative_sum, x)
[0, 1, 3, 4, 5, 5, 5, 7, 10]
Weird:
def cummulative_sum_reducer(x, y):
x.append(x[-1] + y)
return x
>>> reduce(cummulative_sum_reducer, x, [0])
[0, 0, 1, 3, 4, 5
pend(key)
Is there a more elegant solution?
What are a, c, d?
Where can I find additional information on this method?
Should one use a method that actually starts with an _?
Couldn't this one change any time soon?
Thanks for any help
Andre
--
http://mail.python.org/mailman/listinfo/python-list
ble2} placeholders.'
I'm seeking a way to extract the named placesholders, i.e. the names
'variable1' and 'variable2' from the template. I'm not trying to put in
values for them.
I hope this is clearer.
Thanks again
Andre
--
http://mail.python.org/mailman/listinfo/python-list
be used. So if using this method is
completely ok, why does it start with _, why is it almost undocumented?
Or did I miss something, some docs somewhere?
Best regards
Andre
--
http://mail.python.org/mailman/listinfo/python-list
name
Pretty cool. Thanks a lot.
Andre
--
http://mail.python.org/mailman/listinfo/python-list
1inv[i] = np.linalg.inv(m1[i])
Once again, I'm not sure whether or not it is acceptable to have the
overhead of treating the array as a list.
Andre
--
http://mail.python.org/mailman/listinfo/python-list
On 09/16/2010 08:24 AM, Andre Alexander Bell wrote:
or you could write the loop
>>> m1m2 = np.empty_like(m1)
>>> for i in range(m1m2.shape[0]):
... m1m2[i] = np.dot(m1, m2)
This should have been
... m1m2[i] = np.dot(m1[i], m2[i])
Sorry for the typo.
Andre
--
http
How about this:
>>> from numpy import NAN
>>> A = np.array([1,2,3,4,5])
>>> B = np.array([NAN,2,3,NAN,NAN])
>>> A = A[isnan(B)]
>>> A
array([1, 4, 5])
Regards
Andre
--
http://mail.python.org/mailman/listinfo/python-list
On 10/12/2010 06:22 PM, Ian Kelly wrote:
> That's the inverse of what the OP wanted. The full solution:
>
>>>> A[~isnan(B)]
> array([2, 3])
Indeed, you are right Ian. Thanks for pointing that out. :)
Sorry for the mistake.
Regards
Andre
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I occasionally use LCs, if they seem useful. However, what I don't like
about LCs is that they 'look-like' being a closed scope, while actually
they are in the scope of there call. Example:
>>> i = 5
>>> l = [i**2 for i in range(3)]
>>> i
2
On 10/26/2010 07:22 PM, Ian Kelly wrote:
> >>> i = 5
> >>> l = [i**2 for i in range(3)]
> >>> i
> 2
>
>
> This has been corrected in Python 3.
Sorry. You're right. I forgot to mention that...
Andre
--
http://mail.python.org/mailman/listinfo/python-list
azoni and
Marc-Andre Lemburg
--
https://mail.python.org/mailman/listinfo/python-list
or question:
* Marc-André Lemburg: mal+fosdem [at] egenix.com
* Rosie Wood: rwood [at] turing.ac.uk
* Ludo
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Experts (#1, Oct 28 2024)
Python Projects, Coaching and Support ...https://www.egenix.com/
P
201 - 241 of 241 matches
Mail list logo