Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #101380

Re: extract script from executable made by pyinstaller?

From Oscar Benjamin <oscar.j.benjamin@gmail.com>
Newsgroups comp.lang.python
Subject Re: extract script from executable made by pyinstaller?
Date 2016-01-08 15:34 +0000
Message-ID <mailman.73.1452267316.2305.python-list@python.org> (permalink)
References <n6npdp$50i$1@news2.informatik.uni-stuttgart.de>

Show all headers | View raw


On 8 January 2016 at 07:44, Ulli Horlacher
<framstag@rus.uni-stuttgart.de> wrote:
> Is it possible to extract (and view) the Python script from the Windows
> executable which was made by pyinstller?

I may be misremembering but I though that pyinstaller actually stores
the main script uncompressed so that it's just in the raw .exe. In
which case you just need to find the start and stop bytes of the
script. If there are other packages etc. then I'm not sure how to do
that but they are in some sense stored as a compressed archive inside
the .exe file.

--
Oscar

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

extract script from executable made by pyinstaller? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-01-08 07:44 +0000
  Re: extract script from executable made by pyinstaller? Chris Angelico <rosuav@gmail.com> - 2016-01-08 19:36 +1100
  Re: extract script from executable made by pyinstaller? Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2016-01-08 15:34 +0000
    Re: extract script from executable made by pyinstaller? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-01-08 19:12 +0000

csiph-web