@# 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 15 16 17



Comments:

<0> It seems it will be done by beta 8.
<1> by what?
<0> Done before IronPython 1.0 Beta 8 release is out.
<2> hello again, apt has installed xplt package under site-pcakges/scipy, but the shell returns an error about the command " import xplt" How can I solve thi?
<0> Also on my TODO: revise wsgi.py to p*** paste.lint tests.
<1> sanxiyn: OT question
<1> WELL, not OT
<1> anyway
<1> sanxiyn: why are you doing this wrapping?
<0> kbrooks: For fun.
<0> No, really.
<1> sanxiyn: i welxome the wrapping though
<0> Also, I want to see IronPython succeed, but the general Python community seems to be indifferent.
<0> So I am, eh, astroturfing in a way.
<1> sanxiyn: .NET in general ****s without IronPython and your wrap library
<3> deconvolution, maybe the name to be imported is different? What do the docs say?



<4> deconvolution: never used scipy or xplt, but sounds like import scipy.xplt could work
<1> sanxiyn: Maybe rename it? PyNETKit - Making IronPython **** less
<0> kbrooks: Rename from what? My collection doesn't have the name yet.
<1> from fepy
<0> Maybe just call it "IronPython add-ons" and host it on (say) python-hosting.com with Trac.
<0> And receive contributions.
<0> Currently it's entirely my toy. No one get to edit it. :)
<1> sanxiyn: yes OK
<1> but those add-ons make ironpython **** less ;)
<2> TFK, ChrisLong: thanks, to be honest this is my first day touching python..:P
<3> Ah! Them you might be interested in ?tutorials deconvolution
<2> TFK: I am just trying switch from matlab to scipy
<2> thanks for the information anyway
<5> What's the difference between PyNcurses and the curses python module?
<6> is there a library to handle XSD datatype parsing - one that would be able to parse user defined types in some nice way?
<6> user-derived datatypes, that is
<5> Anyone here use the curses module?
<7> hey i learn python
<7> for fun
<5> Is there a sleep function in python?
<7> there should be
<7> pianoboy3333: import time
<7> time.sleep(24235)
<5> ok, thanks
<8> hmm 6hrs of sleep is nice
<5> Can anyone here help me with the curses module?
<7> pianoboy3333: sure
<7> i'll google it for you
<7> !google python curses
<5> I can google my self...
<7> really?
<7> that's amazing man
<6> how to write inf, -inf and nan literals in python?
<9> i'm getting segfaults with pysqlite2... wth?
<10> can i do something like
<10> tralala: ...; except erro1: ...; except error2: ..
<10> erm
<10> try: ...;*
<8> Hadaka, float('inf') float('nan')
<6> kenboo: so no way to write them as literals?
<9> http://deadbeefbabe.org/paste/751 <-- it just segfaults
<8> no idea. i'm not a Python expert.
<6> kenboo: okay thanks.
<9> MyNaNConstant = float('nan')
<11> Hadaka: you can't, portably.
<11> even 'float('nan')' doesn't work portably.
<6> Yhg1s: oh? what do I do then?
<11> Hadaka: live without them, or use a package that tries better to handle them portably. Or only run your code on systems where 'float('nan')' works.
<6> Yhg1s: yikes! okay, thanks.
<10> how can i catches 2 different exceptions ?
<4> nexu: what did you try that didn't work?
<10> ChrisLong: i did what i typed before: "try: ...; except exception1: ...; except exception2: ...;"
<4> nexu: and the error was?
<10> that i had exception2
<10> which i was trying to catch there ^^
<10> but my question was: does such syntax works at all ?
<4> nexu: should have worked. paste-bin it, please
<10> ok
<9> bah, aparrently the pysqlite2 package just segfaults at random places
<10> ChrisLong: http://deadbeefbabe.org/paste/752



<10> ChrisLong: it in def get()
<4> nexu: i can't see why it should not work.
<10> ChrisLong: i think i fixed it, i called the wrong method
<10> ChrisLong: i called config.get instead of get method which i made there
<10> Settings.config.get() instead of Settings.get()
<4> nexu: ah, that would explain it
<10> but thx anyway
<5> How do you resize a window in curses?
<12> hello
<13> is anyone familiar with asyncore/asynchat?
<7> can i ask ot ?
<14> what is aolspeek?
<15> lol, rotfl, etc
<14> ha
<14> but why aol?
<14> aol isn't some isp?
<15> I think it's referring to messenger or something
<14> hmm ok
<9> what's wrong with 'etc'?
<15> Hah
<16> Does anyone know of a good free Python OOP tutorial out there?
<3> holo, swearing is allowed, though.
<3> ?tutorials cached
<16> is there one that is specifically oop?
<16> i've been using procedural programming for years
<3> There's a section in the official tutorial, and some chapters in Think Like a Computer Scientist. Dunno about theo thers.
<16> alright thanks
<3> ?tutorials
<17> hmm, even with psyco, my python map format codec is about three times slower than the java version
<18> what are you codec'ing?
<17> a map in propiertary binary format
<3> Paste the code :-)
<3> Besides optimized Python code, there's also code that's optimized for Psyco...
<18> yes there are things you can do to optimize the effects of psyco
<19> hello
<9> can i just write foo.bar and catch an AttributeError to check if foo has an attribute 'bar'?
<4> noam_: yes, or use hasattr(foo, 'bar')
<9> hm, thanks
<3> ?getattr noam_ may sometimes remove the need for hasattr, since you can p*** it a default value to return if the attribute isn't found.
<5> anyone here use the curses module?
<1> pianoboy3333: maybe therees a way to resize windows
<5> I'm lookin...
<20> WHATS UP PARTY PEOPLE
<21> lol
<22> HellDragon: I really expected you to learn how to behave here. I really did.
<22> HellDragon: you've disappointed me repeatedly.
<3> lol xD
<21> lol
<21> what is funny TFK
<22> Fennec: you can use ConfigParser to parse and write .ini style config files.
<18> didnt you remove a ban on HellDragon just a day or two ago?
<22> ironfroggy: yes, he's a bit of a repeat offender.
<23> Jerub: ah, cool
<18> yes, HellDragon, "el oh el" is offensive. so is PMing people without permission.
<23> ... that should be perfect. :)
<24> lol
<22> I'm confused as to how he continued to speak.
<18> HellDragon: I'm serious, stop it.
<22> my sense of humour must be impared.
<5> Anyone know how to use gtk.Clipboard?
<18> Jerub: no i think its on track. just an influx of sorry users lately.
<18> I still attribute you to the summer breaks.
<25> whats the syntax for searching a string. i'm using test = search ( 'pfetch' ) right now and it says function not found
<20> is there an aio library for python
<18> ned: why did you ***ume that it would exist?
<20> i dont know much about aio, does it have a separate api under unix
<25> ironfroggy, uh, i'm not sure?
<20> ned: 'hello'.find('llo') -> 3
<26> ned: <string>.find("blah")
<25> thanks :)
<20> -1 if its not found
<18> ned: if you just want to find "pfetch" in some string, do "some string with pfetch in it".find("pfetch")
<18> hmm.. maybe i should propose a change to the failure behavior of find for py3. returning -1 seems wrong anymore.


Name:

Comments:

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






Return to #python
or
Go to some related logs:

unix.org.ua\oreilly
i915 xorg black and white
podcast downloader for firefox
YUI Fonts CSS *font css error
#python
#perl
xgl typing glitch
pdftk unencrypt
#fedora
#python



Home  |  disclaimer  |  contact  |  submit quotes