#python - Sun 18 Feb 2007 between 18:33 and 18:45

NY Lost Funds



Jabapythand i worked
s/i/it
AMDfanboyactually this works! echo $'first\nsecond\n' | python a2q5.py
cant figure out why though?
the $$ makes it work, otherwise it doesnt
japapyth: is your string really one line? irc is printing it on 2?
jabapyth: is your string really one line but irc is printing it on 2?
Jabapythno
its two
AMDfanboyits really 2 lines?
first line?
in quotes
Jabapythecho "first
and then
AMDfanboywait, is there a closing quote there?
Jabapythsecond"|thing.py
the closing is on the next line
ehird[setattr(self, arg, val) for arg, val in kwargs.items()] <-- !
Jabapyththe quotes force bach onto two lines
s/bach/bash
zerokehird, yes, something like taht *G*
AMDfanboyright that works too
ehirdit looks like haskell!
AMDfanboyi wonder why the $ made it work?
bluecivic21I have a python script I want to convert to C# but I don't know c# anyone here also program in .net?
ehirdi am a functional progarmmer! hroaay!
Jabapythits a bash thing
zerokehird, http://python.pastebin.com/883940 ;) less haskell *g*
ehirdno, more haskell is good
AMDfanboythanks a lot guys! i think i'm in business
ehirdit looks leet and incomprehensible
Jabapythit forced bash two evaluate the newlines before passing them to python
ehirdbecause IT IS
zerokhehe
i always have to think about zed when i read something like this *g*
ehirdhow do i make a cls method in python?
i.e. class.blah
not class().blah
synxehird: You could use the @classmethod decorator.
ehird@howwouldidothat?

Page: 2 9 16 23 30 37 

IrcArchive

NY Lost Funds