#apache #archlinux #asterisk #centos #debian #gentoo #haskell #kde #kubuntu #lisp #math #mysql #perl #python #ruby-lang #rubyonrails #suse #ubuntu #vim #wikipedia 0 1 2 3 4 5 6 7 8 9 
Top Prev 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 Next

#python

<deltab> CJLucas: in fact you may not need either
<CJLucas> ?
<CJLucas> Traceback (most recent call last):
<CJLucas> File "rss_reader_torrent.py", line 43, in <module>
<CJLucas> for n,val in enumerate(feed2.entries):
<CJLucas> IndexError: list index out of range
<CJLucas> see why am i getting this error
<CJLucas> it just doesnt make sense to me
<stanter> does anyone know what is going on with python.net (the website)
<CJLucas> it probably has to do with line 38: "feed2 = feedparser.parse(rss)"
<deltab> stanter: what's normally there?
<deltab> CJLucas: 10 seconds is far too short a time to wait
<stanter> it is a host for python packages, some api docs
<CJLucas> thats what i was thinking
<CJLucas> deltab: but it doesnt take 10 seconds when i do it in the interactive mode
<CJLucas> deltab: is there a way to tell it to wait until line 38 has finished what its doing before moving on?
<deltab> the time.sleep line?
<CJLucas> no the feedparser.parse line
<blittan> is it possible to return more values from a function eg: i want it to return both false and a string?
<deltab> return False, s
<deltab> a, b = f()
<blittan> thx
<heero1711> Hello
<heero1711> =)
<Meithal> 'soir
<Meithal> vu que personne r?pond sur #codeFR, je me permet de poser la question ici :) c'est quoi la traduction en francais de statement ? http://en.wikipedia.org/wiki/Statement_%28programming%29
<blittan> anyone familiar with how to check Content-Location in urllib2 ?
<Meithal> oops
<Jerub> Meithal: g'day.
<Meithal> wrong chan sry
<Metaxyy> Whoever told me that cursors were mandatory in Python is wrong
<Metaxyy> Database objects themselves have all the same functions as cursors under DB-API
<rpc> hello folks :) please give a warm welcome to a python noob :)
<Metaxyy> Further, things like DBI do have cursors, they just sometimes use a more abstract term like "prepared statements," underlining the fact that not all dbs have true cursors and sometimes it's simulated
<rpc> he he
<Metaxyy> rpc: IRC is full of mean people, so put up your armor. I don't know enough about this channel to really know, but you will generally find nice people too.
<rpc> oh i might be a python noob but not irc noob :) i appreciate your advice very much, though.
<rpc> i'm sure i will get addicted to python thanks to all the nice people in here and i'm going to be around for a while :)
<Metaxyy> Heh.
<Metaxyy> What do you know already?
<Metaxyy> (language-wise)
<Metaxyy> That's an easy way to tell how pain[less|ful] it'll be.
<rpc> i'm a perl guy first of all
<rpc> and i just wonder how much will that help me (or screw me) when learning python
<Metaxyy> Yeah, you'll be fine.
<Metaxyy> Perl is like a weird acid trip of a language, whereas Python is really conservative and predictable
<Metaxyy> Which makes for maintainability and less voodoo etc.
<rpc> i just thought it's time to learn something new and i decided on python as i hear only good opinions about it daily
<Metaxyy> Once you're done with Python check out Ruby, it's the other element in the now-triumverate of major scripting languages. It'll make you think differently about the importance of object orientation.
<Metaxyy> In its strict, as opposed to ad hoc, form

Previous Page  Next Page

Search ircarchive.info