[python-win32] Re: Parsing a Python dictionary inside a Python extension

2005-05-27 Thread Roger Upole
<[EMAIL PROTECTED]> wrote: > Hi, > > I would like to pass a dictionary from my Python code to my Python > extension, extract > various values from the dictionary (from within the extension) , modify > the > values for the > relevant keys and return the modified dictionary to Python. > > Can someon

[python-win32] Inserting a dictionary of lists into '__main__' of an embedded interpreter

2005-05-27 Thread quadric
Hi, I have an application that has an embedded interpreter. This application loads many DLL's and passes a PyObject * to each DLL that was gotten from the following call: PyObject * pmod = PyImport_AddModule("__main__") ; Later, in one of the many DLL's that interact with the embedded inte

[python-win32] Parsing a Python dictionary inside a Python extension

2005-05-27 Thread quadric
Hi, I would like to pass a dictionary from my Python code to my Python extension, extract various values from the dictionary (from within the extension) , modify the values for the relevant keys and return the modified dictionary to Python. Can someone point me to an example of what the C code

[python-win32] Program to lock folders under win32

2005-05-27 Thread Mark Kels
Hi list. I want to make a program to lock folders (so the user can only access them if he knows the password) under win32, the only problem is that I have no idea how to start or what to do. Do you guys have any ideas about how to do it? Thanks! -- 1. The day Microsoft makes something that does

[python-win32] frame within frame placement?

2005-05-27 Thread Jeff Peery
Hello, I am working on an application (wxpython 2.5, python 2.4, windows XP) and I am having trouble. I would like to place a frame within a frame and I would like it to be constrained so that the child frame cannot move out of the parent frame. What is the best way to do this? Thanks. Jeff