| |
| |
| |
|
Comments:
<0> Hope you found my booty cushy when you kicked me <1> greetings <2> hmm cross compiling python is a pain :(
<3> hi all <3> can I have a cl*** inside a cl***? <4> I don't think so. But why would you need to <3> i am making a cl*** to hold configuration, and a part of the configuration is a structure, and I want to make a cl*** to hold that <3> so that it's like lstConfig = [clsItem1, clsItem2] <5> Have you tried? <3> i have, i'm getting various results <5> I've done it before, so I suggest you paste a minimal, supposed-to-be-working-and-self-contained example at http://rafb.net/paste/ . <3> http://rafb.net/paste/results/LItIuu98.html <3> oh pff, mistake there <3> but is that the general syntax? <5> Almost. <5> 2 secs <3> ok <5> http://rafb.net/paste/results/fFrjJH97.html <3> ah great, that's what i needed, thanks a lot <5> You're welcome. <3> hi again
<3> does anyone know how i can force a string to expand the escaped sequences? <3> as in, convert "\n" to an actual newline? <2> you mean convert "\\n" to an actual newline? <3> yes <3> replace doesn't work because it would convert "\\\\n" to "\\\n" <3> and it would be handy to be able to also convert hex, octal etc sequences if there's a builtin function <2> string.decode("string_escape") maybe? <3> let me check, that might work <3> yes, that works fine <3> thanks a lot :) <2> np :) <3> i am parsing xml with ElementTree and for some reason it's converting newlines in a string to spaces <6> how do I gain access to the clipboard from python <3> hello <3> has anyone here used twisted? <7> you want #twisted on freenode <3> oh great, thanks <3> what's the freenode address? <7> irc.freenode.net <3> thanks a lot
Return to
#python or Go to some related
logs:
#goal #hardware #computers #beginner #beginner amanda wenk measurements
#beginner teenkelly sparta
ntbackup bad data #politics
|
|