Is there a module that does this for me? If it exists, how do I find it? thanks
On Tue, Oct 3, 2017 at 5:04 PM, Michael C <mysecretrobotfact...@gmail.com> wrote: > i see i see. > > On Tue, Oct 3, 2017 at 4:50 PM, Alan Gauld via Tutor <tutor@python.org> > wrote: > >> On 03/10/17 22:30, Michael C wrote: >> >> > I am trying to create SYSTEM_INFO structure and >> MEMORY_BASIC_INFORMATION >> > structure >> > >> > I think there are modules for this purpose? Is it the ctypes.wintypes? >> >> wintypes does define many of the standard Win32 API types >> but sadly neither of the two you mention seem to be included. >> >> Since the module consists entirely of type definitions >> the easiest way to find out what it holds is probably >> just to open the module source code and search/look. >> >> On my system(Linux) it lives in: >> >> /usr/lib/python3.4/ctypes/wintypes.py >> >> You might be able to create your own definition based >> on the Windows type data and combining the more primitive >> types that are declared in wintypes. >> >> -- >> Alan G >> Author of the Learn to Program web site >> http://www.alan-g.me.uk/ >> http://www.amazon.com/author/alan_gauld >> Follow my photo-blog on Flickr at: >> http://www.flickr.com/photos/alangauldphotos >> >> >> _______________________________________________ >> Tutor maillist - Tutor@python.org >> To unsubscribe or change subscription options: >> https://mail.python.org/mailman/listinfo/tutor >> > > _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor