This is the code I tried:
import tarfile
# Opening zipped tarfile archive
t = tarfile.open(r'C:\Users\Luke\Desktop\my data.gz', "r:gz")
t.getmembers() #Showing members within tarfile archive
It prints this:
TarInfo './._SA00000' at 0x2a9431ea430,
TarInfo 'SA00000' at 0x2a9431ea5c0, #theres more members didn't want to show them all
I tried:
x = t.extract('SA00000')
print(x)
It prints None.
I really don't understand. I've opened up the tarfile in notepad and all the data is there.
Don't know if this helps but I'm using python 3 on windows 10, and the data was given to me from a MacOS.