Last active
July 26, 2019 16:58
-
-
Save bbarad/fb8a3449fcbd9a99e6812d75066505f0 to your computer and use it in GitHub Desktop.
Sample script to convert tpkl to dat in batch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import parse | |
import trace | |
filename_list = ["test_1.tpkl", "test_2.tpkl"] | |
for filename in filename_list: | |
trace = parse.parse(filename) | |
new_name = "{}.dat".format(filename[:-5]) | |
trace.write_dat(new_name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment