EuroPython Society: Launching the EuroPython Society Fellow Grant

2021-10-08 Thread Marc-Andre Lemburg
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

EuroPython 2021: All edited videos now available

2021-10-12 Thread Marc-Andre Lemburg
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

Re: Web framework

2005-03-13 Thread andre . p . meyer
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,

Re: Web framework

2005-03-13 Thread andre . p . meyer
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

defining functions

2007-04-05 Thread Andre P.S Duarte
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

Really badly structured Python Books.

2007-04-14 Thread Andre P.S Duarte
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

2007-09-17 Thread Andre P.S Duarte
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

Re: I´m trying to desenvolve a site in python

2007-09-17 Thread Andre P.S Duarte
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

Importing binary modules

2007-03-01 Thread andre . dos . anjos
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

Python OGL package

2010-11-16 Thread Marc-Andre Belzile
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

RE: Kind of plugin system

2010-11-27 Thread Marc-Andre Belzile
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

Re: Dynamic list name from a string

2010-12-20 Thread Andre Alexander Bell
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

Re: simple games w/o pygame

2010-12-22 Thread Andre Alexander Bell
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

Re: pythonize this!

2010-06-15 Thread Andre Alexander Bell
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

Re: pythonize this!

2010-06-18 Thread Andre Alexander Bell
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://

Re: pythonize this!

2010-06-18 Thread Andre Alexander Bell
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

Re: pythonize this!

2010-06-19 Thread Andre Alexander Bell
-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

Re: plac 0.5 is out!

2010-06-20 Thread Andre Alexander Bell
ge output? Andre -- http://mail.python.org/mailman/listinfo/python-list

Re: plac 0.5 is out!

2010-06-20 Thread Andre Alexander Bell
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

Re: plac 0.5 is out!

2010-06-21 Thread Andre Alexander Bell
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

Re: From Dict to Classes yes or no and how

2010-06-22 Thread Andre Alexander Bell
interested in the csv module http://docs.python.org/library/csv.html Regards Andre -- http://mail.python.org/mailman/listinfo/python-list

Re: From Dict to Classes yes or no and how

2010-06-22 Thread Andre Alexander Bell
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

Re: Second attempt WAS: From Dict to Classes yes or no and how

2010-06-22 Thread Andre Alexander Bell
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

Re: Python dynamic attribute creation

2010-06-29 Thread Andre Alexander Bell
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

Re: Python dynamic attribute creation

2010-06-30 Thread Andre Alexander Bell
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

Re: python app development

2010-07-03 Thread Andre Alexander Bell
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

Re: Naming Conventions, Where's the Convention Waldo?

2010-07-11 Thread Andre Alexander Bell
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

Re: create dynamic instance

2010-07-16 Thread Andre Alexander Bell
ain__': test_objects = [Test() for i in range(10)] print test_objects[0].value Andre -- http://mail.python.org/mailman/listinfo/python-list

Re: Accumulate function in python

2010-07-19 Thread Andre Alexander Bell
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

String formatting with the format string syntax

2010-09-14 Thread Andre Alexander Bell
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

Re: String formatting with the format string syntax

2010-09-14 Thread Andre Alexander Bell
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

Re: String formatting with the format string syntax

2010-09-15 Thread Andre Alexander Bell
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

Re: String formatting with the format string syntax

2010-09-15 Thread Andre Alexander Bell
name Pretty cool. Thanks a lot. Andre -- http://mail.python.org/mailman/listinfo/python-list

Re: Numpy: Multiplying arrays of matrices

2010-09-15 Thread Andre Alexander Bell
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

Re: Numpy: Multiplying arrays of matrices

2010-09-15 Thread Andre Alexander Bell
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

Re: isnan

2010-10-11 Thread Andre Alexander Bell
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

Re: isnan

2010-10-12 Thread Andre Alexander Bell
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

Re: is list comprehension necessary?

2010-10-26 Thread Andre Alexander Bell
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

Re: is list comprehension necessary?

2010-10-26 Thread Andre Alexander Bell
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

FOSDEM 2024: Call for Proposals - Python Devrooom

2023-11-23 Thread Marc-Andre Lemburg via Python-list
azoni and Marc-Andre Lemburg -- https://mail.python.org/mailman/listinfo/python-list

Call for Participation: Python devroom @ FOSDEM 2025

2024-10-28 Thread Marc-Andre Lemburg via 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

<    1   2   3