#python - Sat 21 Apr 2007 between 02:52 and 03:12

NY Lost Funds



xivenomg
i should have caught that
bytecoloryou will next time ;)
xivenstring.find return
string.find returns 1 or above, unless error then -1 right?
bytecolorxiven install ipython and you can do -> import string; string.find? <enter> and the doc will be displayed
or use pydoc
pydoc string.find
xivenGoogle is faster ;)
bytecolorfaster than entering pydoc string.find at the cl? no way :)
xivenlol
faster then installing it
hmm
if packet.find(x,z,y) > 4 is wrong?
nu-anyone know wht curses.cbreak() gives mean error?
xivenHmm
http://rafb.net/p/4tBhu853.html
Somebody give me a hand with line 11?
'unindent does not match any outer level indent'
gzlyour indentations are completely messed up, assuming your actual file looks like that
xivenWhat do you mean
gzlalso it's "else:"
xivenOhhhh
gzlthat may be the only problem
xivenSorry
I have only been seriously using Python for two days
bytecolorit shows! j/k
xivenI learned the very basics like 3 months ago, just decided to write with it..so i guess my memory is a bit rusty
Pretty good actually..I wrote a whole chat server in only about 1-1/3 days
bytecolorxiven, 4 spaces is the standard indention
xivenMaybe so
but hte site says it doesnt matter how many, as long as there is atleast 1
Im an ex c-type programmer lol
bytecolorxiven, yes, but you must keep blocks aligned
xivenI believe I have
bytecolorspeaking of that stray else
xivenWhich stray else?
It's a 4 block nest
bytecolorindention? where the hell...
xivenindentation*

Page: 1 8 15 22 29 36 43 50 57 64 

IrcArchive

NY Lost Funds