@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> whats the easiest way to display only the dirs from os.listdir(".") ?
<0> is there any way to use generators, or have to do it with for?
<1> iterate and test with os.path.isidr
<1> os.path.isdir*
<0> hm ok
<2> one day, the Path cl*** will be part of stdlib
<2> and then you'll do Path(".").dirs()
<3> how can i take a list ['some', 'things', 'are', 'easy'] and turn it into a tuple ('some', 'things', 'are', 'easy') ?



<3> (this is for mysqldb's executemany function, where i have lists and it requires tuples)
<4> tuple()
<3> huh, who'd a thunk...
<3> :) thanks hund
<4> You're welcome. :)
<4> You'll be surprised how often the first thing that comes to mind is the thing you're looking for in Python.
<5> Hello.
<5> I'm not a root user on my box, and I'm trying to use the new google sitemaps creator which requires something more recent than python2.2
<5> I downloaded the installer for linux.
<5> Should I do a ./configure and make then.
<5> What does su root do ?
<6> if i have a windows machine and python installed, can i make a windows executeable file from python code?
<6> the python file runs, but only if python is installed, id like it to run without python, is this possible?
<1> look up py2exe
<7> evenin
<5> Anyone around
<5> For some reason, I downloaded and untar'd a version of ActivePython and didn't find an ./install.sh
<1> ActivePython is someone else's distribution, you'll have to check with their web site and help pages
<4> If I did the same, I'd find the answer in the documentation.
<5> ok xihr, I another one.
<5> ahha
<5> I moved to activepython after realizing that perhaps the python install wasn't taylored for non-root users.
<5> Is that true ?
<4> merCutio: You want the admin to install it from the distribution.
<5> I guess I should send him an e-mail huh.
<5> I was just going to install it locally.
<4> The difference I worry about is when a security patch is needed. For him it would be a daily routine, for you it would be a PITA.
<5> After I compile this google sitemaps thing I shall remove it.
<8> anyone still awake?
<1> y



<9> Im here
<10> no
<1> I mean n
<11> hi
<8> holla
<9> dehydr8: you wanted something?
<8> to know if anyone was awake, taking a break
<10> i got out of bed for that?
<8> buy a laptop and take it to bed
<9> for me it's 11:20 in the morning, so I'm ok...
<8> 4:20 here
<10> 10:20 actually
<10> where are you lorg?
<9> Israel.
<10> oic
<9> why?
<10> just curious, i dont know why i ***ume that everyone further along us (sweden) on the timezones are somewhere in russia
<9> heh
<10> finland is it your timezone
<10> in
<9> say, twq, so you got out of bed, at 10:20 - because your irc beeped?
<8> dedication
<9> say, how would any of you go about writing a copy on write recursive object structure in python?
<12> meeeh
<12> too late
<13> re
<14> hi
<14> anyone here can give me an advice on how to cross compile python?
<10> port it to another platform?
<10> python itself you mean?
<14> yes, I must compile python on an i686 machine to get an arm executable
<10> but.. i686? thats like the normal arch
<14> yes, I must compile it on a pc, but the executable has to run on an ARM machine... in the ARM machine I don't have any development environment
<10> oh allright im with you
<15> how can i upgrade from python 2.3.4 to python 2.3.5? when i use rpm -U python2.3-2.3.5-4pydotorg.i386.rpm it gives a lot of messages informing me abt conflict with 2.3.4


Name:

Comments:

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






Return to #python
or
Go to some related logs:

#flash
#computers
lower the amount of polygons
#hardware
#stocks
#sql
turkish people in naperville
how does windows store
#beginner
evondev.dll



Home  |  disclaimer  |  contact  |  submit quotes