- ImageObj = PeImageClass (Filename)\r
- if ImageObj.SectionAlignment < 0x400:\r
- self.Alignment = str (ImageObj.SectionAlignment)\r
- elif ImageObj.SectionAlignment < 0x100000:\r
- self.Alignment = str (ImageObj.SectionAlignment // 0x400) + 'K'\r
- else:\r
- self.Alignment = str (ImageObj.SectionAlignment // 0x100000) + 'M'\r
-\r