Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: =?utf-8?B?0JrQuNGB0LjQuiDQnNGD0YDRi9GB0LjQug==?= Newsgroups: comp.lang.python Subject: Reading files from .ar / .deb archives Date: Wed, 25 Nov 2015 00:33:34 +0300 Lines: 10 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de 6YTPfhaXQBjlHBAbssm6WAd/m+CyH6X/SRDSqeQ6DpeQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'broken': 0.03; 'subject:files': 0.09; 'unpacking': 0.09; 'received:157.55.0.233': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:Reading': 0.16; 'archive': 0.18; 'windows': 0.20; 'subject: .': 0.22; 'decide': 0.23; 'module': 0.25; "i'm": 0.30; "can't": 0.32; 'file': 0.34; 'handle': 0.34; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:from': 0.39; 'to:addr:python.org': 0.40; 'hello!': 0.66; 'decided': 0.66; 'phone': 0.68; 'me).': 0.84 X-TMN: [ai32rY6GR+dHO+8nIsfuYkIqrM8oWdVm] X-Originating-Email: [kisik2010@live.ru] X-OriginalArrivalTime: 24 Nov 2015 21:33:35.0210 (UTC) FILETIME=[C612ECA0:01D126FF] X-Mailman-Approved-At: Wed, 25 Nov 2015 01:09:58 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.20+ X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99412 Hello! I'm new to Python, so I decided to learn it and write simple apt alternativ= e (apt is somewhat broken for me). But I can't decide - can I read just one file (/DEBIAN/control) from archiv= e without unpacking it, or do I need to unpack? And what module I can use t= o handle .ar files? (I read in Wikipedia that .deb is just .ar archive with= specific structure) Sincerely, =E3=83=B4=EF=BD=A1 Sent from my Windows Phone=