TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Self extracting tar archives

1 pointsby izaberaalmost 8 years ago

1 comment

jepleralmost 8 years ago
I went and researched this before reading the link, and found a slightly different solution than the author. By taking advantage of python&#x27;s &#x27;tarfile&#x27; module, it was easy to create a (us)tar-compatible header. My solution is here: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;jepler&#x2F;f86255a6e054d9b6ca540d0c7afe136b" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;jepler&#x2F;f86255a6e054d9b6ca540d0c7afe1...</a>
评论 #14723673 未加载