| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Comments:
<0> hi all <1> krazykrip: if they're required to wait for something, then that wait is kind of modal, no? <2> krazykrip: but even then, you can use a thread <3> hi, me again, one problem, i am sending string through os.send(string) to console and i have to make backslash before every space and crazy character (&,',(,)..), is there any way except: track = track2.replace("&",r"\&") for each char <0> can anyone tell me how can I know how much things a list contains ? <4> if its modal can i close it too ? <4> without user clicking <2> krazykrip: yes <1> good question <1> i guess you can just destroy the dialog <4> just a dialog.Close() ? <2> krazykrip: Show(False) will hide and drestroy the dialog <4> sorry for the dumb questions ... am very new to wxpython but it seems nice to use :) <5> pygentoo: i can. do you want me to? <5> pygentoo: it's len(l)
<2> krazykrip: hehe. I've used a lot of toolkits.. but wxpython is my favorite. <1> wx ain't bad. the layout stuff ****s, everything else is all right <4> synic: seems like the twisted pple hate wx though <0> ChrisLong, of course, I've forgot, I feel stupid :) <1> hard to beat tk's packing layout manager. hard to like much else about tk <2> krazykrip: haven't used twisted... <4> synic: seems like the twisted even loop and wx's event loop dont play together too well <2> I've used gtk+, QT, swing, and wx <4> synic: is gtk+ in c++ ? i remember doin some gtk stuff and it was in C <2> krazykrip: gtk+ is in whatever language you want <2> I used c++ for it. <5> krazykrip: gtk+ itself is implemented in c <1> i've used haskell for gtk <1> it's quite nice <4> synic: seems like after using python i just dont feel like writing c or c++ code anymore .. and iv used c/c++ for a longgggg tiem and pythoon for just a month <6> can I specify the function heapify uses to compare elements? <2> krazykrip: I know the feeling <4> i just wish a native python compiler would come out and then i wud have no reason for nething else ... <4> not the existing ones which embed the interpreter into the exe :) <5> eggauah: i think in python 2.5 you will be able to <7> Hiho: What is ***ertion error? <2> krazykrip: pygtk looks cool too, I just don't like how os x supports gtk+ <8> you mean py2exe? heh <4> synic: i use wx since it required minimal user install for supporting libraries <4> Patrick: yea <8> mm, wx <4> i still need to learn to use sizers ... <4> in wx <2> krazykrip: I still have nothing bad to say about wx... except wx.ListCtrl is a bit of a pain <2> but otherwise, I absolutely love it <4> synic: really ? how so ? i used listctrl for the first time yesterday and seemed ok .. but my app was pretty simple <4> synic: i liked the way u cud implement sorting of cols but multiple inheritence <2> krazykrip: I'm used to Swing and using data models for displaying info... and wx.ListCtrl only seemed to support it (wx.LC_VIRTUAL) as an afterthought. <2> it seemed you could only include an icon in the first column <4> synic: isnt swing a pain in the *** to use ? <2> krazykrip: yes, but some of the stuff it does makes sense <9> synic: a lot of these things are due to wx's lowest-common-demonitor support wrt. platforms <4> synic: have u done nething with jython ? <9> *denominator <2> krazykrip: nope <4> synic: me neither just curious as to wat u can do with it <2> ctz: yeah, but even the wx people say wxListCtrl ****s. <4> synic: do u mean wxpython or wxwidgets itself ? <9> its because the underlying windows control ****s though <2> krazykrip: wx itself. wxpython is awesome. <2> krazykrip: wxpython even adds stuff that regular wx doesn't have. it's great. <10> Can anyone recommend a parsing library to parse structured text ? <11> synic, are you selling wx? -.-"" <2> holo: nope... I just use it. :P <4> synic: like wat does it add ? <11> prologic, why not just prolog? <2> krazykrip: everything you see here: http://wxpython.org/docs/api/wx.lib-module.html <10> did I come to the wrong channel ? :) <4> synic: sweet :) <2> krazykrip: you should download the wxPython demo <12> sproingie, isnt bloody executing on cygwin :( <2> krazykrip: it pretty much shows every widget you can use, and the code for it. <4> synic: the docs and demos page ? <2> krazykrip: nah, it's part of the wxPython source. <11> prologic, now really, your nick is becouse you like prolog? you could use GCD's <10> holo, no my nick has nothing to do with prolog :)
<11> oh, sorry <1> defcon8: it won't execute on cygwin, it's still a linux executable <4> synic: lookin for it <12> oh crap <1> defcon8: what you can do on cygwin is run strings.exe or take apart an elf exe with elf tools (just look for "elf" somewhere in the list of apps in setup) <10> might give pyparsing a go <1> defcon8: this being a cracking contest though, more you must learn on your own gr***hoppa <12> sproingie, no such thing <4> ok another dumb question .. when ur reply to my msgs do u type my nick explicitly every line ? or do u have a script for that ? <12> :| <2> krazykrip: tab completion man <1> krazykrip: most of us have tab-completion in our irc clients <4> synic, ahh ok works :) <2> krazykrip: try this, type pro<tab> and see what happens <4> synic, but mine puts a comma instead of a colon <12> sproingie, how do i add more packages? <1> krazykrip: welcome to xchat. you can change that <5> krazykrip: wish gaim would do that. i prefer comma <1> krazykrip: most of us don't care tho. chatzilla doesn't add anything at all, not even a space. it's anoying that way. <4> sproingie, is there an xchat in win32 instead of gtk ? <12> hmm nvm <5> ok, i know i could switch to x-chat :) <1> krazykrip: naw, it's still gtk for win32. it's nasty on win <1> i actually prefer chatzilla <2> krazykrip: www.silverex.org - sorry, uses gtk <4> sproingie: yaay change it to colon :) <1> krazykrip: i think they're nice enough to bundle gtk or statically link it on win tho <4> sproingie: yup thats wat im using <4> sproingie: i use xchat and gaim on win32 <4> sproingie: sux coz my works vpn client works only on win32 :( <1> gaim's all right, i prefer miranda <4> sproingie: hate using windows <1> krazykrip: with python, the platform is mostly irrelevant <1> C extensions are a bitch tho <1> ok, gotta go <12> sproingie, couldnt find that strings thing <4> sproingie: bye bye and thanx a lot <5> ?help <13> '***ertionError: cannot join thread before it is started'... but I've started it.. what's wrong!? <5> znh: you have called the start() method of the thread? <13> ChrisLong: yes <14> ChrisLong: did you perhaps override 'start' in your own subcl***? <14> znh: sorry, ^ <13> joedj: I have no idea <13> joedj: http://isl33t.net/pastebin/?read=67 <15> isl33t?! <14> znh: you are not calling .start on dothread <9> znh: dothread isn't having start called on it <5> znh: no, you have not. you have called start() on an new thread, not on dothread <4> does anyone know how to change the tooltips for rows in a column in wx.ListCtrl ? <13> ChrisLong: okay <9> krazykrip: could i suggest making a root-hidden wxTreeCtrl instead of fighting with wxListCtrl? :) <4> ctz: can u have multiple cols that way ? <9> i believe so, yes <4> ctz: i dont understand y pple seem to dislike ListCtrl ? <13> mm why are the threads not being executed after each other but wait for each other instead? http://isl33t.net/pastebin/?read=68 <16> how can i duplicate an object? <13> it doesnt mather if nextT has join on it <17> ?copy cshaman <5> znh: something and something2 are missing run() <11> ?copy holo <5> znh: the code in those two get's executed when the module is imported, not when main() is run <13> ChrisLong: where should .run() be placed? I dont get it at all <5> znh: you must define run(self) in something in something2 <5> the last 'in' should read 'and' <13> hey hey. that did the trick <13> but .join for main seems to be ignored <13> ChrisLong: the point was to avoid using while (to keep the python application running for ever) <13> ChrisLong: and to use sleep and a print at the same time <13> ChrisLong: the last goal worked. but keeping the application running for ever is not <18> znh: you are trying too hard to keep that main thread suspended forever, something you'll never do in practice. <13> ironfroggy: what do you suggest? <18> instead of something and something2, just have something and do the other thing in the main thread.
Return to
#python or Go to some related
logs:
rbol protocol #ldap #gentoo kubuntu rtl-8139 8139cp #ubuntu #php linux SuSE php bus error
#perl #perl gentoo mysql factorial segfault
|
|