On Nov 4, 2:16 pm, "Mark Tolonen" <[EMAIL PROTECTED]> wrote:
> "Shark" <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
>
> >I have a windows dll1.dll with a export function:
>
> > int f1(char filename,char **buf,int *buf
On Nov 3, 4:22 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> Shark schrieb:
>
> > I have a windows dll1.dll with a export function:
>
> > int f1(char filename,char **buf,int *bufLen)
> > {
> > int len;
> > //got the length of file a
I have a windows dll1.dll with a export function:
int f1(char filename,char **buf,int *bufLen)
{
int len;
//got the length of file anyway,such as 100
len = 100;//len = getLen(filename);
*buf = (char*)calloc(100);
*bufLen = len;
return 0;
}
then how can I call the f1 function with python.
thanks f
row = {"fname" : "Frank", "lname" : "Jones", "city" : "Hoboken", "state" :
"Alaska"}
cols = ("city", "state")
Is there a best-practices way to ask for an object containing only the keys
named in co