[python-win32] win32file.CreateFile() parameter incorrect

2012-01-10 Thread wangsuyi640
Hi I tried the code as follows on my PC. import os import win32file import win32con path = C:\\test FILE_LIST_DIRECTORY = 0x0001 BUFFER_SIZE = 2048 hDir = win32file.CreateFile ( path, FILE_LIST_DIRECTORY, win32con.FILE_SHARE_READ | win32con.FILE_SHARE_WRITE,

[python-win32] get model PC

2012-01-10 Thread pacopyc pacopyc
Hi, how can I get the model of remote computers? es. HP Compaq 6510b, IBM 2653, Toshiba Satellite Pro L670-11E, Thanks. pacopyc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] win32file.CreateFile() parameter incorrect

2012-01-10 Thread Tim Roberts
wangsuyi640 wrote: Hi I tried the code as follows on my PC. ... my platform is Windows XP SP3, and the version of python is 2.6.6, the version of pywin32 is pywin32-216.win32-py2.6.exe. I have tried plenty of exmples on the Internet, by got almost the same error:

Re: [python-win32] get model PC

2012-01-10 Thread He Jibo
How about BIOS information? can we extract this? --- He Jibo Department of Psychology, Beckman Institute for Advanced Science and Technology University of Illinois, Urbana Champaign, 603 East Daniel St., Champaign, IL 61820 website: www.hejibo.info On Tue, Jan 10, 2012 at