Re: [python-win32] creating disk image

2012-08-08 Thread Jane Chen
Cool. Thank you Tim! Jane Chen wrote: > Thank you for your help, Roger and Tim! > > Problem solved.  I realized that I can simplify my problem by > using win32file.ReadFile()to create a bin file. You don't even need to go that far.  There's nothing you can do with win32file.ReadFile that you can

Re: [python-win32] creating disk image

2012-08-07 Thread Tim Roberts
Jane Chen wrote: > Thank you for your help, Roger and Tim! > > Problem solved. I realized that I can simplify my problem by > using win32file.ReadFile()to create a bin file. You don't even need to go that far. There's nothing you can do with win32file.ReadFile that you cannot also do using perf

Re: [python-win32] creating disk image

2012-08-06 Thread Jane Chen
Thank you for your help, Roger and Tim!  Problem solved.  I realized that I can simplify my problem by using win32file.ReadFile()to create a bin file. Thank you, Jane  --- There's a FileStream class in \win32com\server\util.py that creates an IStream connected to a

Re: [python-win32] creating disk image

2012-08-04 Thread Roger Upole
There's a FileStream class in \win32com\server\util.py that creates an IStream connected to a file. If you still need SHCreateStreamOnFileEx, put in a feature request on Sourceforge, and I'll try to get that function added to win32com.shell. Roger __

Re: [python-win32] creating disk image

2012-08-03 Thread Tim Roberts
Tim Roberts wrote: > Jane Chen wrote: >> I would like to create disk image >> through SHCreateStreamOnFileEx,IStream::Read, >> and IStream::Write. However, I cannot find these API in python-win32. >> I am wondering how to create disk image through python. > What are you actually trying to do? I se

Re: [python-win32] creating disk image

2012-08-03 Thread Tim Roberts
Jane Chen wrote: > > I would like to create disk image > through SHCreateStreamOnFileEx,IStream::Read, > and IStream::Write. However, I cannot find these API in python-win32. > I am wondering how to create disk image through python. What are you actually trying to do? Unless you are working with

[python-win32] creating disk image

2012-08-02 Thread Jane Chen
Hi all, I would like to create disk image through SHCreateStreamOnFileEx,IStream::Read, and IStream::Write. However, I cannot find these API in python-win32. I am wondering how to create disk image through python. Thank you, Jane___ python-win32 maili