[python-win32] advice on architecting or program design in python:

2008-03-10 Thread mark.a.brand
hi: i am new to python and wish but am writing a program as both a learning experience and which may even get used if it is any good. purpose of this program: is to retrieve and store (for historical purposes) system-info for multiple clients about multiple windows servers using tim golden's wmi<

Re: [python-win32] embedding IPython in a windows dll

2008-03-10 Thread Tim Roberts
mani sabri wrote: > I want to run a Python shell from a DllMain() function. > It isn't safe to do this much processing in a DllMain. There is a thing called the "loader lock" that is held while DllMain is called, and it can prevent you from loading other DLLs. You might try spinning off a

Re: [python-win32] embedding IPython in a windows dll

2008-03-10 Thread mani sabri
>-Original Message- >From: [EMAIL PROTECTED] [mailto:python-win32- >[EMAIL PROTECTED] On Behalf Of Tim Roberts > >Are you trying to give access to a Python shell inside of another application? wxPython GUI framework includes several tools to do exactly that. They >put up an editable wind

Re: [python-win32] embedding IPython in a windows dll

2008-03-10 Thread mani sabri
>-Original Message- >From: [EMAIL PROTECTED] [mailto:python-win32- >I have no idea what you are asking. I want to run a Python shell from a DllMain() function. This is what I came up with so far: BOOL APIENTRY DllMain(HANDLE hModule,DWORD ul_reason_for_call,LPVOID lpReserved) { //

Re: [python-win32] embedding IPython in a windows dll

2008-03-10 Thread Tim Roberts
mani sabri wrote: > Hi > It's my first email in this list. > After googleing for a day about redirecting python stdout/stdin/stderr.I > found out that for a win32 application or a dllmain that does not naturally > has a console I can AllocConsole() for them and blah blah blah! well anybody > knows

[python-win32] embedding IPython in a windows dll

2008-03-10 Thread mani sabri
Hi It's my first email in this list. After googleing for a day about redirecting python stdout/stdin/stderr.I found out that for a win32 application or a dllmain that does not naturally has a console I can AllocConsole() for them and blah blah blah! well anybody knows how that story ended? Or is i

Re: [python-win32] win32file.SetupComm Error Using PySerial in new Python 2.5.2 installation on 32 bit XP

2008-03-10 Thread Tim Roberts
Ron Jackson wrote: > I am setting up Python on a newly upgraded computer (AMD 64 X2 dual > core) running 32 bit XP home. I installed the following packages: > ... > Traceback (most recent call last): > ... >File "C:\Python25\Lib\site-packages\serial\serialwin32.py", line 57, > in open >

[python-win32] Re: OE/WAB help with VB ...

2008-03-10 Thread Roger Upole
Clinton Lee Taylor wrote: > I think I get this because com objects have to be "imported" ... But > this ActiveX object does not seem to have a "type lib"? ... It appears the type info is embedded in the dll itself, rather than shipped as a separate .tlb. > So I tried the following ... > > impor

Re: [python-win32] windows webdav mount

2008-03-10 Thread Julius
On Mon, 2008-03-10 at 16:33 +, Tim Golden wrote: > Julius wrote: > > Hi, > > > > is there python code to "monut" a webdave share to a windows drive > > letter? > > i know there are free/commercial applications that can do that, but i > > need at least a a program that can be controlled throug

[python-win32] Re: windows webdav mount

2008-03-10 Thread Roger Upole
Julius wrote: > Hi, > > is there python code to "monut" a webdave share to a windows drive > letter? > i know there are free/commercial applications that can do that, but i > need at least a a program that can be controlled through some > programming language. > > You should be able to use win3

Re: [python-win32] windows webdav mount

2008-03-10 Thread Tim Golden
Julius wrote: > Hi, > > is there python code to "monut" a webdave share to a windows drive > letter? > i know there are free/commercial applications that can do that, but i > need at least a a program that can be controlled through some > programming language. ... or this one where Tim Roberts (a

Re: [python-win32] windows webdav mount

2008-03-10 Thread Tim Golden
Julius wrote: > is there python code to "monut" a webdave share to a windows drive > letter? > i know there are free/commercial applications that can do that, but i > need at least a a program that can be controlled through some > programming language. I remember this coming up not long ago (altho

[python-win32] windows webdav mount

2008-03-10 Thread Julius
Hi, is there python code to "monut" a webdave share to a windows drive letter? i know there are free/commercial applications that can do that, but i need at least a a program that can be controlled through some programming language. Julius ___ python-

Re: [python-win32] OE/WAB help with VB ...

2008-03-10 Thread Clinton Lee Taylor
Greetings ... > > I have found a nice little LGPL library that I hope will make my life > > and many others easier ... http://www.nektra.com/products/wab/ > > > > If I understand the docs, it's an activeX component, with a nice > > little VB app, but I'm a total noob at both languages and tot