Re: Creating .exe file in Python

2015-06-17 Thread Chris Angelico
On Thu, Jun 18, 2015 at 1:39 AM, Steven D'Aprano wrote: > On Wed, 17 Jun 2015 11:52 pm, Chris Angelico wrote: > >> If you truly want to protect your code from prying eyes, therefore, >> there's only one way to do it: host it on a server, and let people >> access the server without seeing the code.

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
On Wednesday, June 17, 2015 at 9:09:32 PM UTC+5:30, Steven D'Aprano wrote: > On Wed, 17 Jun 2015 11:52 pm, Chris Angelico wrote: > > > If you truly want to protect your code from prying eyes, therefore, > > there's only one way to do it: host it on a server, and let people > > access the server wi

Re: Creating .exe file in Python

2015-06-17 Thread Steven D'Aprano
On Wed, 17 Jun 2015 11:52 pm, Chris Angelico wrote: > If you truly want to protect your code from prying eyes, therefore, > there's only one way to do it: host it on a server, and let people > access the server without seeing the code. Stop giving people ideas. -- Steven -- https://mail.pyt

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
On Wednesday, June 17, 2015 at 8:52:16 PM UTC+5:30, Laura Creighton wrote: > In a message of Wed, 17 Jun 2015 07:16:33 -0700, w > rites: > >On Monday, June 15, 2015 at 5:12:24 PM UTC+5:30, wrote: > >> Dear Group, > >> > >> I am trying to learn how to create .exe file for Python. I tried to work

Re: Creating .exe file in Python

2015-06-17 Thread Laura Creighton
In a message of Wed, 17 Jun 2015 07:16:33 -0700, subhabrata.bane...@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/

Re: Creating .exe file in Python

2015-06-17 Thread Chris Angelico
On Thu, Jun 18, 2015 at 12:17 AM, wrote: > On Wed, Jun 17, 2015, at 09:33, hamilton wrote: >> However, the python source can be read by anyone. >> >> As a .exe, the source can not be read. >> >> Just because the interpreter is open source, >> does not mean my application should be. > > Being read

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
On Wednesday, June 17, 2015 at 7:47:59 PM UTC+5:30, rand...@fastmail.us wrote: > On Wed, Jun 17, 2015, at 09:33, hamilton wrote: > > However, the python source can be read by anyone. > > > > As a .exe, the source can not be read. > > > > Just because the interpreter is open source, > > does not m

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
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

Re: Creating .exe file in Python

2015-06-17 Thread random832
On Wed, Jun 17, 2015, at 09:33, hamilton wrote: > However, the python source can be read by anyone. > > As a .exe, the source can not be read. > > Just because the interpreter is open source, > does not mean my application should be. Being readable isn't the same thing as being open source. If s

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
On Wednesday, June 17, 2015 at 7:25:39 PM UTC+5:30, Laura Creighton wrote: > In a message of Wed, 17 Jun 2015 06:10:45 -0700, w > rites: > > >Dear Group, > > > >Thank you all. It seems going fine now. I have one additional question if I > >run the .exe files created in Non Python Windows environm

Re: Creating .exe file in Python

2015-06-17 Thread Laura Creighton
In a message of Wed, 17 Jun 2015 06:10:45 -0700, subhabrata.bane...@gmail.com w rites: >Dear Group, > >Thank you all. It seems going fine now. I have one additional question if I >run the .exe files created in Non Python Windows environment. Linux has Python >builtin but in Non Python environmen

Re: Creating .exe file in Python

2015-06-17 Thread Chris Angelico
On Wed, Jun 17, 2015 at 11:33 PM, hamilton wrote: > On 6/17/2015 7:20 AM, Chris Angelico wrote: >> >> On Wed, Jun 17, 2015 at 11:10 PM, wrote: >>> >>> Thank you all. It seems going fine now. I have one additional question if >>> I run the .exe files created in Non Python Windows environment. Lin

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
On Wednesday, June 17, 2015 at 6:50:48 PM UTC+5:30, Chris Angelico wrote: > On Wed, Jun 17, 2015 at 11:10 PM, wrote: > > Thank you all. It seems going fine now. I have one additional question if I > > run the .exe files created in Non Python Windows environment. Linux has > > Python builtin but i

Re: Creating .exe file in Python

2015-06-17 Thread hamilton
On 6/17/2015 7:20 AM, Chris Angelico wrote: On Wed, Jun 17, 2015 at 11:10 PM, wrote: Thank you all. It seems going fine now. I have one additional question if I run the .exe files created in Non Python Windows environment. Linux has Python builtin but in Non Python environment how may I run

Re: Creating .exe file in Python

2015-06-17 Thread Chris Angelico
On Wed, Jun 17, 2015 at 11:10 PM, wrote: > Thank you all. It seems going fine now. I have one additional question if I > run the .exe files created in Non Python Windows environment. Linux has > Python builtin but in Non Python environment how may I run it? Is there any > set of prequisites I

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
On Tuesday, June 16, 2015 at 9:33:58 PM UTC+5:30, Chris Angelico wrote: > On Wed, Jun 17, 2015 at 1:17 AM, wrote: > > Thanks. The scipy issue seems solved. But this silly issue is giving so > > much of time. I am checking. Please see a sample code, > > > > import sys > > sys.stderr = sys.stdout >

Re: Creating .exe file in Python

2015-06-16 Thread subhabrata . banerji
On Tuesday, June 16, 2015 at 9:33:58 PM UTC+5:30, Chris Angelico wrote: > On Wed, Jun 17, 2015 at 1:17 AM, wrote: > > Thanks. The scipy issue seems solved. But this silly issue is giving so > > much of time. I am checking. Please see a sample code, > > > > import sys > > sys.stderr = sys.stdout >

Re: Creating .exe file in Python

2015-06-16 Thread Chris Angelico
On Wed, Jun 17, 2015 at 1:17 AM, wrote: > Thanks. The scipy issue seems solved. But this silly issue is giving so much > of time. I am checking. Please see a sample code, > > import sys > sys.stderr = sys.stdout > class Colors: > def Blue(self): > self.var="This is Blue" > pr

Re: Creating .exe file in Python

2015-06-16 Thread Ian Kelly
On Tue, Jun 16, 2015 at 9:17 AM, wrote: > On Tuesday, June 16, 2015 at 8:35:39 PM UTC+5:30, Laura Creighton wrote: >> In a message of Tue, 16 Jun 2015 06:56:12 -0700, writes: >> >ii) In a class how may I include if __name__ == "__main__": with multiple >> >methods? But I think this is easy ques

Re: Creating .exe file in Python

2015-06-16 Thread subhabrata . banerji
On Tuesday, June 16, 2015 at 8:35:39 PM UTC+5:30, Laura Creighton wrote: > In a message of Tue, 16 Jun 2015 06:56:12 -0700, writes: > >ii) In a class how may I include if __name__ == "__main__": with multiple > >methods? But I think this is easy question there should be lot of web help. > > > >I

Re: Creating .exe file in Python

2015-06-16 Thread Laura Creighton
In a message of Tue, 16 Jun 2015 06:56:12 -0700, subhabrata.bane...@gmail.com w rites: >ii) In a class how may I include if __name__ == "__main__": with multiple >methods? But I think this is easy question there should be lot of web help. > >If anyone may kindly suggest. > >Regards, >Subhabrata B

Re: Creating .exe file in Python

2015-06-16 Thread subhabrata . banerji
On Monday, June 15, 2015 at 9:59:33 PM UTC+5:30, Laura Creighton wrote: > I don't have a windows system, so my knowledge of such things is > minimal. But looks like this person had the same problem you have, > and got some suggestions on how to fix it. > > http://stackoverflow.com/questions/12127

Re: Creating .exe file in Python

2015-06-16 Thread subhabrata . banerji
On Monday, June 15, 2015 at 9:59:33 PM UTC+5:30, Laura Creighton wrote: > I don't have a windows system, so my knowledge of such things is > minimal. But looks like this person had the same problem you have, > and got some suggestions on how to fix it. > > http://stackoverflow.com/questions/12127

Re: Creating .exe file in Python

2015-06-15 Thread sohcahtoa82
On Monday, June 15, 2015 at 5:08:58 AM UTC-7, Mark Lawrence wrote: > On 15/06/2015 12:42, subhabrata.bane...@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 samp

Re: Creating .exe file in Python

2015-06-15 Thread Laura Creighton
I don't have a windows system, so my knowledge of such things is minimal. But looks like this person had the same problem you have, and got some suggestions on how to fix it. http://stackoverflow.com/questions/12127869/error-msvcp90-dll-no-such-file-or-directory-even-though-microsoft-visual-c Bu

Re: Creating .exe file in Python

2015-06-15 Thread subhabrata . banerji
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

Re: Creating .exe file in Python

2015-06-15 Thread Laura Creighton
In a message of Mon, 15 Jun 2015 06:42:48 -0700, subhabrata.bane...@gmail.com w >I wrote a script as NLQ3. py > >the code is written as, > >import nltk >import itertools >def nlq3(n): >inp=raw_input("Print Your Query:") >tag=nltk.pos_tag(nltk.wordpunct_tokenize(inp)) >print "The Tag

Re: Creating .exe file in Python

2015-06-15 Thread subhabrata . banerji
On Monday, June 15, 2015 at 8:02:21 PM UTC+5:30, Thierry Chappuis wrote: > Hi, > > The question is why to you want to create an exe from your > python project? > > Setuptools is capable to create small .exe launchers in the > Scripts dir of your python install. These launchers start a python sc

Re: Creating .exe file in Python

2015-06-15 Thread Thierry Chappuis
Hi, The question is why to you want to create an exe from your python project? Setuptools is capable to create small .exe launchers in the Scripts dir of your python install. These launchers start a python script and use the python interpreter registered on your platform. That's pretty light a

Re: Creating .exe file in Python

2015-06-15 Thread subhabrata . banerji
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

Re: Creating .exe file in Python

2015-06-15 Thread subhabrata . banerji
On Monday, June 15, 2015 at 6:32:33 PM UTC+5:30, Laura Creighton wrote: > In a message of Mon, 15 Jun 2015 04:42:09 -0700, 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. Th

Re: Creating .exe file in Python

2015-06-15 Thread Laura Creighton
In a message of Mon, 15 Jun 2015 04:42:09 -0700, subhabrata.bane...@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 went >nice. >But if I try to make exe fo

Re: Creating .exe file in Python

2015-06-15 Thread Mark Lawrence
On 15/06/2015 12:42, subhabrata.bane...@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 cl