| |
| |
| |
|
Comments:
<0> hi all <0> anyone home? <1> y <0> I have a question I thought some might be able to help me with <0> Its a rather general python question <0> Here is the question: Is python able to load/read/use a windows COM based dll? <1> yes, if you use the win32all extensions (publicly available but a separate package) <0> Thank you <0> I was working on some VBScript scripts today that allow me to make use of several COM components in our application. Basic things such as querying our database, through COM Objkects, that would return customer information on orders and the like. I was wondering if python would fit the bill and provide a much needed GUI library (via wxPython), that VBScript does not have.
<1> I don't see why not <1> I'm not a Windows/COM guy so I couldn't help you with the details, but as far as I know with win32all the COM support is pretty complete <0> How do you like Python xifr? <1> quite a bit <1> I use it for pretty much all recreational projects <1> and some work ones where it's appropriate <0> I have also seen some pretty professional apps done with Python <1> yes <0> I have seen a good amount of freeware coded in Python also.. <1> yes <1> it's a very clean high-level language with OO and a simple syntax <1> the standard library is also quite extensive <0> Is it easy to deploy to those without Python installed? <0> I find Java kind of lacking in this area <1> there are some helper tools like py2exe but it's still a moderate pain in the *** <0> hehe <1> it'll work but it may be a big package <1> trimming it down is the pain in the *** :-) <0> No less than a .NET or Java package requires I would guess <1> yeah <1> it's true of all HLLs. <0> well thanks for taking the time to help me out! <1> sure <0> take care <1> have fun <2> is there a preferred cross-platform way to kill a program? <2> i'm looking at posix_kill(), win32api.TerminateProcess(), and none of the articles i've found seem to point to a preferred method <1> well win32api is definitely not portable <1> os.kill is the closest to portable <2> thanks xihr. <1> sure <3> Hi. Is there a good way to execute files on a remote Windows machine using Python? Maybe an interface to the Remote Desktop Protocol, or DCOM, or something? <3> short of developing a sockets app ;)
<4> http://www.bash.org/?400459 <5> mhmm <6> Does anybody know how can we handle user input? Eg key pressing ( Esc, Return, Spacebar etc ) <6> Thanks a lot in advance. <7> Not in a very portable way, but curses can do it. <6> curses = ? <7> http://docs.python.org/lib/module-curses.html <6> hund: Ok. thank you very much :-) <7> You're welcome. <8> portable to Unix clones, good enough. <6> How can we represent the Esc ( Escape ) key, with pygame.key.get_pressed() ? <6> eg, the Up Arrow is represented like this: K_UP or something <1> K_ESC? <6> And generally, is there a list of key representations? <6> xihr: I tried it, but it doesn't work :-( <1> also just the normal ASCII character, '0x1b' <6> oh, ok <6> thx <1> for a list of curses keys, check general curses documentation with Google <9> anybody having problem with various python-scripts in xbmc? i keep getting 'module' object has no attribute 'urlopen' in my log-files on the xbox. is this xbmc specific? or something that happens in other "os:es" as well? <1> the exact list varies depending on the implementation <1> tann: probably xmbc-specific <9> damn... i just wanted my little script to work :-) <6> tann: :-) <9> I'm using a similar script in amarok, and it works like a charm. oh yes, is there support for httplib in xbmc? <9> maybe this is the wrng channel for that kind of questions <1> yeah, we really don't know xmbc <1> there are platform-specific changes that we're not really familiar with <9> okay, thanks anyway <9> oh yeah, one more question. i'm trying to post xml-data to an URL, can I send the xml-headers in some way via urllib? <9> (once again that damn xbox) :-) <1> should be the same as with non-xmbc <9> i've done it successfully with httplib, but i can't figure out if it is possible with urllib <1> you might need to use httplib to specify the outgoing headers, i'm not sure <1> I don't see an obvious way with urllib <1> (you just p*** the POST data in as the `data` argument) <9> hmm... guess it's back to work and try to figure this one out then <10> hey all, hoping I can get a hand with an error that keeps popping up in one of my scripts. <10> could somebody shed some light on this type of error? "tp_compare didn't return -1 or -2 for exception self.setFocus(selfConsolebtn)" my script keeps crashing with this error and I don't have the slightest clue it means =-( <10> thanks in advance
Return to
#python or Go to some related
logs:
running+a+swf+inside+another+swf www.cpuz #linuxhelp #worldcup #gentoo #gentoo t hap my india com Pirated Delphi 8
#politics
|
|