| |
| |
| |
|
Comments:
<0> xml is pissing me off <1> trees are good for this planet. <0> i need to specify a freakin number w/o any additional parsing <0> ahh figured something out. word. <2> mmmm sauna after work for the total win <3> hello am I allowed to ask questions here? <4> yes <5> if you weren't you'd allready have been in violation ;)
<4> haha <3> hehe true ;) <3> anyways I'm trying to write a simple parser for turtle graphics.. but I am havinging some trouble geting my head around how I should do it <3> I have been told to use regular expressions to validate and then get the data from the commands <3> the commands look like this <3> for x=10 to 20 do <3> move(23, x*2) <3> end <3> I just can't figure out how to do this.. I don't want to use eval or exec if possible <6> note that turtle graphics are already available in Python <3> yup but sadly I am not allowed to use that.. ugh regex is hard to get your head around <6> if you need a general recursive parser, regular expressions won't work <3> gha why is it doing this.. it makes no sence <7> yes pel|e <7> pump everything into a new array <7> except the first and last elements <7> ive no idea why it is doing that in the first place tho <7> as i dun understand the regexp or whatever that your using <3> thanks eelmoo :).. I might have to do it that way <3> or just allways start from [1] in the iteration.. witch is no fun :( <7> lol <7> how horridly innefficient tho <7> who cares tho <7> working it out is more "costly" than letting the host computers cpu run a little bit longer <3> well found a work around if I use search("2+3").groups() insted of strip("2+3") it does it right :) <3> but I still want to know why ;) <8> Y R U DOODZ SO OLD SKOOL <8> U SHOULD USE RUBY <8> ITS VARY BETTAR
<8> ITS TEH FUTAR <8> PYTHON IS SO 2000 <9> why do you think we don't use both? <8> **** U MAN OK JUST **** U <8> GOD DAME PYTHON ZEALIT <9> hehe <10> U-R-SUXY: try cobol <8> THATS CUZ UR GHEY <8> COBOL IS FOR ***ULE DEVIANTS <10> speak english <8> STFU COCKPONY <10> STFU? <8> YES <8> BITCH <10> vai se fuder <8> MS. ARUJULO IS APPARENTLY ON TEH RAG <10> can you please shut your mouth up? <8> UR A ****ING STUPID BITCH <8> STFU <8> I DIDNT AXE UR OPONION <8> OK ****A <10> OKAY ****A! <8> UR GHEY <10> UR TOO <10> bye <9> just /ignore U-R-SUXY <8> STFU ***PONUS <10> U-R-SUXY vai se catar <11> aloha <12> Maybe I should take a look at Ruby again. Last time I tried, the docs were really bad engrish. <11> dont you dare <6> heh
Return to
#python or Go to some related
logs:
ptedit.exe eterm packages suse 10 www.silases.com upload recession stocks #stocks christine.wmv #red #flash #python #nhl
|
|