#python - Tue 3 Apr 2007 between 13:07 and 13:26

NY Lost Funds



MrNazi really wish bullfrog were still around... peter molyneux or however you spell his crazy name was king of gameplay
Wild_Catbut thanks to duck-typing and conventions, we don't care that much.
twbUgh. Stop waving around "duck typing" like it's something special
ironfroggytwb: there are inheritences but things dont have to inherit to be the same kind of thing
Wild_CatMrNaz: he's still around at Lionhead. Fable, Black & White...
MrNazyea
i really want another syndicate that doesnt blow... syndicate wars was ok, but it required too much meat in the PC to really appeal to the mainstream
twbMrNaz: you mean CPU, RAM, GPU resources?
MrNaztwb syndicate wars was released in the day before the term "GPU" existed
twbYou mean like nethack and ADVENT?
MrNazthe 3dfx cards were released about a year after synd wars came out iirc
going back quite a quile now... stretching my memory a bit here
fregoHello, how to force an argument of a function to be a socket object?
Habbiefrego, why?
MrNazbest way i know to force an argument is to have a gun or really big stick
fregoHabbie: I have to pass a socket to a classe but python tells me it's a string :/
baba-andreagpolo: you intend int(x) and after for restore uinicode value unicode(x)
gpolobaba-andrea, well, yes. but why would you "restore" it ? you didnt remove it from there
baba-andrea, did you figured out that problem with tab ? Whenever I would answer you already left
baba-andreagpolo: I need to restore for re-insert in the textctrl for watch the user that can decide if is right or not and after he can save with pickel into a dict into a file
gpolo: is right or I make a big mistake?
gpolobaba-andrea, if you are getting this data from a file, then it is ok
baba-andreagpolo: yes I can resolve the tab problem, I put a panel into the frame and after I use the self.textctrl for connect the control on the panel and now I can use the default tab issue
fregoneverming I typed __init() instead of __init__()
gpolobaba-andrea, yes, the parent has to have the tab traversal flag
baba-andrea, a frame doesnt have, a panel does
baba-andreagpolo: no I get this data from the users and after I save on a file
fab31hi
gpolobaba-andrea, I dont get it then, why you need to do conversions ? just do the conversion before saving it
baba-andreagpolo: I get the value from textctrl (unicode), change in (int) for do the calculates, re-change in unicode for reset the textctrl value label for permit the user to control the result. After I save this date into a file. I don't know if is the right way, what do you think?
gpolobaba-andrea, probably it is if it is working, I dont fully understand what are you doing
baba-andreagpoli: self.totscontato = wx.TextCtrl(self.panel, -1, '') this mean that the textctrl is empty
twbCan I define an exception that's local to the current function?
arkanestwb: yes, but it would be useless to do so
baba-andreagpolo: self.totscontato = wx.TextCtrl(self.panel, -1, unicode(result)) now I try to reset the value that appear on the screen in the textctrl control after the calculates
arkanesnote that exceptions are just classes and aren't epscial except by convention
twbWell since there are no continuations, there's no other way for me to create short-cutting flow, AFAICT
gpolobaba-andrea, paste a sample code, it makes non-sense
arkanesyou can use generators to do that, too
but yeah, using exceptions to break nested flow works

Page: 2 9 16 23 30 37 44 51 58 65 72 

IrcArchive

NY Lost Funds