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


Groups > comp.lang.python > #92761

Re: Creating .exe file in Python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'subject:file': 0.07; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'cc:addr:python-list': 0.10; 'python': 0.11; 'python.': 0.11; 'suggest': 0.15; 'wed,': 0.15; '>on': 0.16; 'exe': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'skip:> 20': 0.16; 'wrote:': 0.16; 'laura': 0.18; 'windows': 0.20; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'trying': 0.22; 'do.': 0.22; 'subject: .': 0.22; 'cc:no real name:2**0': 0.23; '2015': 0.23; 'module': 0.23; 'specified': 0.23; 'tried': 0.24; 'header:In-Reply-To:1': 0.24; 'distribute': 0.27; 'error': 0.27; 'packaging': 0.27; 'dll': 0.27; 'found.': 0.27; 'went': 0.28; '-0700,': 0.29; 'received:se': 0.29; 'environment': 0.29; '(c)': 0.29; 'classes': 0.30; '15,': 0.31; 'folder': 0.31; 'error.': 0.31; 'knows': 0.32; 'getting': 0.33; 'point': 0.33; 'another': 0.34; '2009': 0.34; 'file': 0.34; 'could': 0.35; 'skip:> 10': 0.35; 'somebody': 0.35; 'something': 0.35; 'but': 0.36; 'url:org': 0.36; 'monday,': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'well.': 0.40; 'learn': 0.60; 'sample': 0.62; 'header :Message-Id:1': 0.62; 'more': 0.62; 'kindly': 0.64; 'url:index': 0.64; 'email addr:gmail.com': 0.64; 'group,': 0.65; 'url:cgi': 0.66; 'dear': 0.67; 'reserved.': 0.70; 'received:89': 0.80; 'utc+5:30,': 0.84; 'esteemed': 0.91; 'url:tutorial': 0.91
To subhabrata.banerji@gmail.com
cc python-list@python.org
From Laura Creighton <lac@openend.se>
Subject Re: Creating .exe file in Python
In-Reply-To Message from subhabrata.banerji@gmail.com of "Wed, 17 Jun 2015 07:16:33 -0700." <67f1c9b8-fa76-45ca-a6a1-dcb29208d333@googlegroups.com>
References <349bb66f-bd3c-47ec-bd1d-35f46d23cf95@googlegroups.com><67f1c9b8-fa76-45ca-a6a1-dcb29208d333@googlegroups.com>
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <24214.1434554497.1@fido>
Content-Transfer-Encoding quoted-printable
Date Wed, 17 Jun 2015 17:21:37 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Wed, 17 Jun 2015 17:21:38 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.557.1434554505.13271.python-list@python.org> (permalink)
Lines 46
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1434554505 news.xs4all.nl 2837 [2001:888:2000:d::a6]:46338
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:92761

Show key headers only | View raw


In a message of Wed, 17 Jun 2015 07:16:33 -0700, subhabrata.banerji@gmail.com w
rites:
>On Monday, June 15, 2015 at 5:12:24 PM UTC+5:30, subhabrat...@gmail.com wrote:
>> Dear Group,
>> 
>> I am trying to learn how to create .exe file for Python. I tried to work around 
>> http://www.py2exe.org/index.cgi/Tutorial of Py2exe. The sample program went nice.
>> But if I try to make exe for larger programs with methods and classes I am getting error. 
>> 
>> If any one of the esteemed members may kindly suggest how to work out. 
>> I am using Python2.7+ on Windows 7 Professional. 
>> 
>> Regards,
>> Subhabrata Banerjee.
>
>But if I am moving the file from Python environment and to another folder in C: drive it is not running, it is giving me following error messages,
>Microsoft Windows [Version 6.1.7601]
>Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
>
>C:\tutorial>hello.exe
>LoadLibrary(pythondll) failedThe specified module could not be found.
>C:\tutorial\PYTHON27.DLL
>C:\tutorial>
>
>Regards,
>Subhabrata Banerjee. 

You have to distribute the DLL as well.
But at this point you need somebody who knows more about packaging
for windows than I do.  It's not something I do often, or well.

Laura

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


Thread

Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-15 04:42 -0700
  Re: Creating .exe file in Python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-06-15 13:07 +0100
    Re: Creating .exe file in Python sohcahtoa82@gmail.com - 2015-06-15 10:09 -0700
  Re: Creating .exe file in Python Laura Creighton <lac@openend.se> - 2015-06-15 15:01 +0200
    Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-15 06:42 -0700
      Re: Creating .exe file in Python Laura Creighton <lac@openend.se> - 2015-06-15 16:44 +0200
  Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-15 07:03 -0700
    Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-15 07:40 -0700
  Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-15 09:11 -0700
    Re: Creating .exe file in Python Laura Creighton <lac@openend.se> - 2015-06-15 18:29 +0200
      Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-16 03:46 -0700
      Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-16 06:56 -0700
        Re: Creating .exe file in Python Laura Creighton <lac@openend.se> - 2015-06-16 17:04 +0200
          Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-16 08:17 -0700
            Re: Creating .exe file in Python Ian Kelly <ian.g.kelly@gmail.com> - 2015-06-16 10:00 -0600
            Re: Creating .exe file in Python Chris Angelico <rosuav@gmail.com> - 2015-06-17 02:03 +1000
              Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-16 09:23 -0700
              Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-17 06:10 -0700
                Re: Creating .exe file in Python Chris Angelico <rosuav@gmail.com> - 2015-06-17 23:20 +1000
                Re: Creating .exe file in Python hamilton <hamilton@nothere.com> - 2015-06-17 07:33 -0600
                Re: Creating .exe file in Python Chris Angelico <rosuav@gmail.com> - 2015-06-17 23:52 +1000
                Re: Creating .exe file in Python Steven D'Aprano <steve@pearwood.info> - 2015-06-18 01:39 +1000
                Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-17 08:46 -0700
                Re: Creating .exe file in Python Chris Angelico <rosuav@gmail.com> - 2015-06-18 01:58 +1000
                Re: Creating .exe file in Python random832@fastmail.us - 2015-06-17 10:17 -0400
                Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-17 07:30 -0700
                Re: Creating .exe file in Python Chris Angelico <rosuav@gmail.com> - 2015-06-18 00:38 +1000
                Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-17 06:33 -0700
                Re: Creating .exe file in Python Laura Creighton <lac@openend.se> - 2015-06-17 15:54 +0200
                Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-17 07:04 -0700
  Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-17 07:16 -0700
    Re: Creating .exe file in Python Laura Creighton <lac@openend.se> - 2015-06-17 17:21 +0200
      Re: Creating .exe file in Python subhabrata.banerji@gmail.com - 2015-06-17 08:30 -0700

csiph-web