>>> str(pythoncom.CreateGuid())
'{17F0B5B8-FFC2-4B26-A0E9-BA7A61A1432D}'

        BArry

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard
> Armstrong
> Sent: 25 May 2001 21:10
> To: [EMAIL PROTECTED]
> Subject: pythoncom.CreateGuid() question: string from a PyIID?
> 
> 
> Hello,
> 
> I'd like to get a PyIID (returned from a previous call to
> pythoncom.CreateGuid()) into string form so that I can write it to a file. I
> can print the PyIID but I can't figure out how to get the dang thing into a
> string. I feel sort of silly, like I'm missing something really basic :(
> 
> Any help would be greatly appreciated,
> 
> Rick Armstrong
> 
> _______________________________________________
> ActivePython mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/activepython
> 
> 
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to