@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14



Comments:

<0> doh! lost all my window...
<1> because that's what kids do
<1> although kids should program Python, not just kids use this channel



<2> MaxDesign: you're welcome. it's a good tutorial for the beginning -- i continued with python docs :)
<3> s0undt3ch, but dont up files via FTP and later the .py are interpreter with mod_python ?
<3> without need that touch a shell
<4> Yhg1s, i didnt understand when must i use lambda?
<5> Klavier: preferably, never.
<4> why?
<5> Klavier: 'lambda' is a short way to write 'def'.
<6> i think lambda can be usefull
<4> http://www.ferg.org/thinking_in_tkinter/tt078.py i read
<4> this so i tried to use lambda



<5> Klavier: if you don't see a reason to use lambda, just write the 'def' form.
<6> for smaller things that need to be done, and if its not that big i rather use lambda then create another function for it.
<4> okay
<0> i'm using a library which has a function which fetches xml from the web (my delicious bookmarks), parses it and returns python data. i'd like to add an optional "variable reference" to the function so that i can store the original xml
<5> Klavier: lambda is often used for very short functions that are p***ed to other functions. As soon as you start writing more complex forms, lambda becomes unreadable and unmaintainable. So, realize 'def' and 'lambda' create the same kind of object, and use 'def' instead.
<5> note that Python has no problems with nesting functions (and that is in fact exactly what lambda does.)
<7> is there a way to uninstall with setup.py?
<5> mamat: use a cl***, or use multiple values and ignore the extra value when you don't need it.
<5> marccd-g: nope.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #python
or
Go to some related logs:

#linux
install rpm libncurses devel Suse
installer draconi
mount: wrong fs type, bad option, bad superblock on /dev/sdc1
gumbyno
#lgp
fglrx xorg driver unload
php wolfpaws
Cannot find $EPATCH_SOURCE! xgl
#gaim



Home  |  disclaimer  |  contact  |  submit quotes