2006-10-18 13:12:04

- <attribute '__dict__' of 'Array' objects>
- <attribute '__weakref__' of 'Array' objects>

- <attribute '__dict__' of 'Byte' objects>
- '<B'
- <class 'Ft.Lib.DistExt.ImageHlp.DataType'>
- 1
- <attribute '__weakref__' of 'Byte' objects>

- <attribute '__dict__' of 'Dword' objects>
- '<L'
- <class 'Ft.Lib.DistExt.ImageHlp.DataType'>
- 4

- [(<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'VirtualAddress'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'Size')]
- '<LL'
- 8

- [(<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_magic'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_cblp'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_cp'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_crlc'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_cparhdr'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_minalloc'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_maxalloc'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_ss'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_sp'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_csnum'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_ip'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_cs'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_lfarlc'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_ovno'), (<class 'Ft.Lib.DistExt.ImageHlp.Word[4]'>, 'e_res'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_oemid'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'e_oeminfo'), (<class 'Ft.Lib.DistExt.ImageHlp.Word[10]'>, 'e_res2'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'e_lfanew')]
- '<HHHHHHHHHHHHHH8sHH20sL'
- 64

- [(<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'Machine'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'NumberOfSections'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'TimeDateStamp'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'PointerToSymbolTable'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'NumberOfSymbols'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'SizeOfOptionalHeader'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'Characteristics')]
- '<HHLLLHH'
- 20

- [(<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'Signature'), (<class 'Ft.Lib.DistExt.ImageHlp.ImageFileHeader'>, 'FileHeader'), (<class 'Ft.Lib.DistExt.ImageHlp.ImageOptionalHeader'>, 'OptionalHeader')]
- '<L20s224s'
- 248

- [(<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'Magic'), (<class 'Ft.Lib.DistExt.ImageHlp.Byte'>, 'MajorLinkerVersion'), (<class 'Ft.Lib.DistExt.ImageHlp.Byte'>, 'MinorLinkerVersion'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'SizeOfCode'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'SizeOfInitializedData'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'SizeOfUninitializedData'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'AddressOfEntryPoint'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'BaseOfCode'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'BaseOfData'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'ImageBase'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'SectionAlignment'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'FileAlignment'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'MajorOperatingSystemVersion'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'MinorOperatingSystemVersion'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'MajorImageVersion'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'MinorImageVersion'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'MajorSubsystemVersion'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'MinorSubsystemVersion'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'Win32VersionValue'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'SizeOfImage'), ...]
- '<HBBLLLLLLLLLHHHHHHLLLLHHLLLLLL128s'
- 224

- [(<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'OffsetToData'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'Size'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'CodePage'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'Reserved')]
- '<LLLL'
- 16

- [(<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'Characteristics'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'TimeDateStamp'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'MajorVersion'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'MinorVersion'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'NumberOfNamedEntries'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'NumberOfIdEntries')]
- '<LLHHHH'
- 16

- [(<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'Id'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'Offset')]
- '<LL'
- 8

- [(<class 'Ft.Lib.DistExt.ImageHlp.Byte[8]'>, 'Name'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'Misc'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'VirtualAddress'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'SizeOfRawData'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'PointerToRawData'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'PointerToRelocations'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'PointerToLinenumbers'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'NumberOfRelocations'), (<class 'Ft.Lib.DistExt.ImageHlp.Word'>, 'NumberOfLinenumbers'), (<class 'Ft.Lib.DistExt.ImageHlp.Dword'>, 'Characteristics')]
- '<8sLLLLLLHHL'
- 40

classmethod(function) -> method

Convert a function to be a class method.

A class method receives the class as implicit first argument, just like an instance method receives the instance. To declare a class method, use this idiom:

class C: def f(cls, arg1, arg2, ...): ... f = classmethod(f)

It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()). The instance is ignored except for its class. If a class method is called for a derived class, the derived class object is passed as the implied first argument.

Class methods are different than C++ or Java static methods. If you want those, see the staticmethod builtin.
...

- <attribute '__dict__' of 'Struct' objects>
- ''
- <class 'Ft.Lib.DistExt.ImageHlp.DataType'>
- 0
- <attribute '__weakref__' of 'Struct' objects>

- <attribute '__dict__' of 'Word' objects>
- '<H'
- <class 'Ft.Lib.DistExt.ImageHlp.DataType'>
- 2
- <attribute '__weakref__' of 'Word' objects>

Sets stream `f` to the location of the resource source

Sets the Windows subsystem required to run the executable file.

Replaces the resource in the executable file.

2
267
16
8
3
2
10
16
['DataType', 'Array', 'Struct', 'Byte', 'Word', 'Dword', 'ArrayOf', 'RT_RCDATA', 'RT_VERSION', 'UpdateResource', 'SetSubsystem']