Added Panasonic BIOS Package Extractor v2.0_a7

New processes to better handle PE files

Various common package fixes and improvements
This commit is contained in:
platomav 2022-06-21 14:23:08 +03:00
parent f5905ec662
commit fc73921967
12 changed files with 400 additions and 35 deletions

View file

@ -70,6 +70,10 @@ def agnostic_path(in_path):
def path_parent(in_path):
return Path(in_path).parent.absolute()
# Get final path component, w/o suffix
def path_stem(in_path):
return PurePath(in_path).stem
# Check if path is absolute
def is_path_absolute(in_path):
return Path(in_path).is_absolute()