Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'url:github': 0.09; 'cc:addr :python-list': 0.10; 'python.': 0.11; 'suggest': 0.15; '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; 'pyinstaller': 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; 'url:pyinstaller': 0.16; 'laura': 0.18; 'windows': 0.20; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'trying': 0.22; 'subject: .': 0.22; 'cc:no real name:2**0': 0.23; '2015': 0.23; 'tried': 0.24; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'went': 0.28; '-0700,': 0.29; 'received:se': 0.29; 'classes': 0.30; 'url:wiki': 0.30; 'error.': 0.31; 'post': 0.32; 'getting': 0.33; 'file': 0.34; 'url:org': 0.36; 'subject:: ': 0.37; 'charset:us- ascii': 0.37; 'learn': 0.60; 'sample': 0.62; 'header:Message- Id:1': 0.62; 'kindly': 0.64; 'url:index': 0.64; 'email addr:gmail.com': 0.64; 'group,': 0.65; 'url:cgi': 0.66; 'received:89': 0.80; '>if': 0.84; 'esteemed': 0.91; 'url:tutorial': 0.91; 'luck': 0.95 To: subhabrata.banerji@gmail.com cc: python-list@python.org From: Laura Creighton Subject: Re: Creating .exe file in Python In-Reply-To: Message from subhabrata.banerji@gmail.com of "Mon, 15 Jun 2015 04:42:09 -0700." <349bb66f-bd3c-47ec-bd1d-35f46d23cf95@googlegroups.com> References: <349bb66f-bd3c-47ec-bd1d-35f46d23cf95@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16881.1434373271.1@fido> Content-Transfer-Encoding: quoted-printable Date: Mon, 15 Jun 2015 15:01:11 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Mon, 15 Jun 2015 15:01:14 +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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1434373285 news.xs4all.nl 2898 [2001:888:2000:d::a6]:52318 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:92630 In a message of Mon, 15 Jun 2015 04:42:09 -0700, subhabrata.banerji@gmail.= com w rites: >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 we= nt nice. >But if I try to make exe for larger programs with methods and classes I a= m 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. = 1. Post the error. 2. I have always had better luck with PyInstaller than with py2exe https://github.com/pyinstaller/pyinstaller/wiki Laura