How can I extract the contents of a Python xar file?

181 views Asked by At

I have a .xar file. .xar is an exectuable archive file format developed by Meta/Facebook for creating self-contained Python binaries. I would like to extract its contents into a directory so I can look around and see what's inside the archive. How can I do this?

1

There are 1 answers

0
Pål Hart On

For a .xar (or any other compression/archive format) I use the free program The Unarchiver: https://theunarchiver.com

If you're not running macOS: Their command line tools also work on Windows and Linux.