@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> like this.
<0> >>> cl*** Account:
<0> ... contact = Contact()
<0> ...
<0> Traceback (most recent call last):
<0> File "<stdin>", line 1, in ?
<0> File "<stdin>", line 2, in Account
<0> NameError: name 'Contact' is not defined
<1> Anyone can help me setup and Supybot up please, i have no knowings of python
<1> any1 ?
<0> i see what you mean by creating the instance in the "contructor" but i need it earlier =/
<0> anyone using django?
<2> mornin' chaps
<3> Hi gamb.



<2> I'm looking for comments on PyQt wrt maturity and stability, and also any other suggestions for a cross platform GUI application against a rdbms backend
<2> heya hund
<2> all the same people, as usual :)
<2> I don't even know why I bother switching channels, sometimes :)
<3> Few people here do much GUI. Or at least don't talk about it, but the only thing I've seen that seems OK is wxPython.
<3> I haven't actually spawned a single window with it, though.
<2> I'm pretty savvy with wx, but I'm really looking for some open-source RAD setup
<2> Bascially need to churn out good looking gui applications that wire into a database with the minimum of low-level messing about :)
<3> QT has licence issues.
<3> As for rdbms, there is a db API where several drivers have been implemented, but I don't know about maturity. I've used mysql and postgresql plugins.
<3> At least they seemed to work, but that doesn't really say much.
<2> sure
<3> I can't remember the last time I heard someone complain about DB modules, but I think I have. ;)
<4> hi Gambit-
<4> hi hund
<2> heya sgt :)
<4> Gambit-: pyQt? I used PyQt once, and I had some problems. I think PyQt for Windows supported Qt2 and I found out after developing the app on Linux, where the PyQt depended on Qt3 or something.
<4> Annoying anyway
<4> wxPython's probably a better call
<1> Anyone can help me setup and Supybot up please, i have no knowings of python ?
<2> hm wx always felt sorta half-***ed to me
<5> hello
<5> come on, someone please help me im going insane.. im getting the import error: no module named cgtypes, but it is in the python lib direcotry
<6> python -v
<6> will tell me where it gets it lib from
<5> it only looks in the python23\lib directory, not in the subfolders (site-packeges\cgkit)
<6> well then copy it down to the lib directory
<6> it happens to me too
<6> touch ****
<6> maybe you say from site-packages import
<5> thats why i hate free software... its totally confusing where theres absolutely no need for it
<5> well ok thanks for your infos, ciao
<6> ****
<7> why do I keep getting "ValueError: insecure string pickle:" from using: site_dict = pickle.load(site_file) I'm using Fedore Core 4 with Python 2.4.2 RPMs from python.org
<2> mornin' chaps
<2> so anyone used blackadder?
<8> it doesnt run on mac it seems :(
<4> never heard of blackadder, G
<2> heya SgtUnix
<2> it's a IDE
<2> I'm looking for a good Qt or some other gui toolkit integrated IDE environment.
<4> Gambit-: There's already good GUI builders for Qt I think. QtDesigner something perhaps? I believe you save the GUI resource files in XML format, and load it with PyQt.
<4> Gambit-: But I could be wrong, it's been a while
<2> I'm pretty sure you're right, actually
<4> Gambit-: I'm not a huge fan of huge IDE's so this is what I recommend anywya ;)
<4> vim+xterm+that
<2> I like my code completion and inline debugging support :)
<4> hehe
<2> **** me a qt license is expensive
<4> Gambit-: need a commercial license?
<2> nope, definitely not, not at all, never, not a chance, nada, no.
<2> unless you have one handy
<4> qt is free for non-commerical use
<2> I am aware of that :)
<4> but yeah, I bet it's pricey



<2> $3300 per license ^_^;;
<2> that's about 4 times as much as what I was expecting
<4> so, you're coding some GUI app for an egyptian business?
<2> yeah
<8> hmm is there a way to obtain a pointer to the cl*** "x" if one only has the name in string form? (without using eval)
<4> luciver: use getattr
<8> SgtUnix: but how can i use that to look in the global scope?
<2> hrm
<2> qt, or gtk or something else... sigh
<9> luciver: try globals()[cl***name]. But you should be better off with a custom dict
<2> hrm, that Wing IDE looks pretty nice, any of you use it?
<10> Hi I was wondering if anyone can check the code I just pasted under IP connect what the program is suppose to do is loop through ips in a text file and attempt a connection however the connection is only ever made on the first ip
<11> paste the link
<10> http://rafb.net/paste/results/2QuzIa83.html
<11> the problem is the 'break'
<11> it breaks the loop after the first connect attempt
<11> take out the break and it should work
<10> hmm well I want it to break if its made a connection but if doesn't make a connection the first time it won't try to connect the second time sorry if this is to vague
<11> oh, you want it to break
<11> hrmm.. hang on
<10> k
<10> thanks for taking the time to help me
<11> maboroshi, you may be better off with connect_ex()
<11> for ip in ....:
<11> if not sock.connect_ex(ip, PORT):
<11> # connected, break
<11> else:
<11> # not connected, continue one
<12> have any of you tried installing mod_python on apache2 ?
<11> Yes, I run it on apache 2
<12> pjs: how did you install it?
<11> I used the ports system
<11> (freebsd)
<11> but I imagine its pretty simple by hand
<12> ok, i installed it with apt
<12> pjs: http://ebbesvik.getmyip.com/mptest.py
<12> pache/2.0.54 (Ubuntu) mod_python/3.1.3 Python/2.4.2 PHP/5.0.5-2ubuntu1.1 Server at ebbesvik.getmyip.com Port 80
<11> I couldnt do much without knowing your config.. all that gives is a syntax error
<11> oh, upgrade mod_python for sure
<11> latest out is 3.2.5b
<11> *a lot* of fixes
<13> Heya :=
<13> :)*
<12> ok, but this was the newest package on the ubuntu-mirrors I think
<12> pjs: could you show me your config file then?
<12> or what you added to enable mod_python ?
<13> Let me get this right. When using python it's impossible to hide the source, since the source IS the program /script. So apps for the marked wouldn't really use python? (Unless they love challange)
<11> well, my config would vary based on my Handler needs
<11> I use publisher
<13> Am I right or wrong?
<12> ramvi: the source is hidden like php and perl
<13> Ok :)
<13> Thanks
<13> Could I get a helping/pointing hand? Where should I read to get a understanding of how using network / bluetooth in a python script?
<11> python.org, google may be of help too
<13> right :P thanks
<13> huge help. Hadn't tried that
<11> ;)
<14> could someone point me in the direction of a tutorial/some code for how to download text off a website ?
<15> libhttp :)?
<12> what does this mean? http://ebbesvik.getmyip.com/eksempel.py
<16> just what it says: there's no module by that name
<12> something wrong with the mod_python package?
<2> huh anyone have pyqt up and running?
<4> still insisting on PyQt, are we? ;)
<2> not terribly, but I haven't found any good alternatives. Did you suggest an alternative?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #python
or
Go to some related logs:

#winxp
#computers
#beginner
#politics
#nhl
#politics
bartpe brandmauer
#computers
#worldcup
swigert coil



Home  |  disclaimer  |  contact  |  submit quotes