Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: extract script from executable made by pyinstaller? Date: Fri, 8 Jan 2016 19:36:11 +1100 Lines: 10 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de hRqFBcoDa3wtt2B9I5jvCQ+zKohu/iKHcua2223pp56g== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'received:209.85.223': 0.03; 'executable': 0.07; 'cc:addr:python-list': 0.09; 'subject:script': 0.09; 'python': 0.10; 'jan': 0.11; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'view)': 0.16; 'wrote:': 0.16; 'windows': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'code,': 0.23; 'header:In-Reply-To:1': 0.24; 'script': 0.25; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'run': 0.33; 'source': 0.33; 'extract': 0.33; 'received:google.com': 0.35; 'files,': 0.35; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'received:209.85': 0.36; 'possible': 0.36; '(and': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'subject:from': 0.39; 'system.': 0.39; 'rather': 0.39; 'some': 0.40; 'chrisa': 0.84; 'subject:made': 0.84; 'to:none': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=d/MbgQqc2Pu6dGl0Op7uFDN8T8Y3mOsQxhOeoxiEKc8=; b=0q/Gj1/DTSvHQ7TYPn+VKrZ0w67OnM2Q1G6BaYFeAwwYPf8wiHwZaUPmM7fNXRmLYk dcCUqctWMgDGYgfBMQ7ilwlF7gGCxIvS2QNoTwcsqtM5tbqLXbQQBL38/ucxnZNsdJqc 1xQlIY4FJGk+8OG7orp6dGzycQWebCR5xHAvawZ+oXsZ6fIgk/Vx4MqxERpsnZvOAOCq +/CCJrK82pNChSDBfQIN5gRGgHv193fMApuvzIwNhFabEVbUG6UiuiPbfwsGjeZIeufV W4dg/Wu1Y38d3JQ0Unz6sb0YJCuM5QPnecGyWLZ3XwkjtxCIO2u1hXxOKv43ZYqU6akM SqYQ== X-Received: by 10.107.47.162 with SMTP id v34mr50928901iov.19.1452242171552; Fri, 08 Jan 2016 00:36:11 -0800 (PST) In-Reply-To: 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:101364 On Fri, Jan 8, 2016 at 6:44 PM, Ulli Horlacher wrote: > Is it possible to extract (and view) the Python script from the Windows > executable which was made by pyinstller? To some extent, yes. You might only get the .pyc files, rather than the proper source code, but you should be able to get something that will run on any system. ChrisA