Re: Encrypt python files

2015-05-13 Thread BartC
On 08/05/2015 11:59, Denis McMahon wrote: On Wed, 06 May 2015 00:23:39 -0700, Palpandi wrote: No, I just want to hide the scripts from others. As the decryption method is always available to anyone who has legitimate access to execute the code, it's impossible to hide the code at that point

Re: Encrypt python files

2015-05-13 Thread M.-A. Lemburg
On 06.05.2015 08:37, Palpandi wrote: > Hi, > > What are the ways to encrypt python files? This talk shows some usable ways of doing that: https://www.youtube.com/watch?v=tKXpMVQIH2Y&index=92&list=PL8uoeex94UhEomMao7wuOrOGuj3jxJYlz -- Marc-Andre Lemburg eGenix.com Professional Python Service

Re: (OT) Re: Encrypt python files

2015-05-08 Thread Chris Angelico
On Sat, May 9, 2015 at 11:03 AM, Gregory Ewing wrote: > Dave Angel wrote: >> >> It'd be clearer if you used decryptable, since unencryptable has a very >> different meaning. >> >> http://en.wiktionary.org/wiki/unencryptable > > > The meaning is clear, but does that word have a use? > What could a

(OT) Re: Encrypt python files

2015-05-08 Thread Gregory Ewing
Dave Angel wrote: It'd be clearer if you used decryptable, since unencryptable has a very different meaning. http://en.wiktionary.org/wiki/unencryptable The meaning is clear, but does that word have a use? What could a piece of unencryptable data possibly be like? -- Greg -- https://mail.py

Re: Encrypt python files

2015-05-08 Thread Dave Angel
On 05/08/2015 06:59 AM, Denis McMahon wrote: On Wed, 06 May 2015 00:23:39 -0700, Palpandi wrote: On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: Hi, What are the ways to encrypt python files? No, I just want to hide the scripts from others. You can do that by deleting t

Re: Encrypt python files

2015-05-08 Thread Denis McMahon
On Wed, 06 May 2015 00:23:39 -0700, Palpandi wrote: > On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: >> Hi, >> >> What are the ways to encrypt python files? > > No, I just want to hide the scripts from others. You can do that by deleting the scripts. Make sure you use a secu

Re: Encrypt python files

2015-05-08 Thread Denis McMahon
On Tue, 05 May 2015 23:37:02 -0700, Palpandi wrote: > What are the ways to encrypt python files? Depends why you want to encrypt them, and what you want to do with the encrypted files. Do you mean executable python code files, or do you mean data files generated by python. -- Denis McMahon,

Re: Encrypt python files

2015-05-06 Thread Emile van Sebille
On 5/6/2015 12:23 AM, Palpandi wrote: On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: Hi, What are the ways to encrypt python files? No, I just want to hide the scripts from others. See http://stackoverflow.com/questions/261638/how-do-i-protect-python-code Emile -- htt

Re: Encrypt python files

2015-05-06 Thread Steven D'Aprano
On Wed, 6 May 2015 07:45 pm, Albert-Jan Roskam wrote: > I used the marshal module before as a faster alternative to shelve (I > marshalled a huge dictionary). I always understood marshal files require > the *exact* same interpreter version (incl. built number). Do the same > limitations apply for

Re: Encrypt python files

2015-05-06 Thread Albert-Jan Roskam via Python-list
- On Wed, May 6, 2015 11:04 AM CEST Steven D'Aprano wrote: >On Wednesday 06 May 2015 17:23, Palpandi wrote: > >> On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: >> Hi, >> >> What are the ways to encrypt python files? >> >> No, I just want to hide t

Re: Encrypt python files

2015-05-06 Thread Steven D'Aprano
On Wednesday 06 May 2015 17:23, Palpandi wrote: > On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: >> Hi, >> >> What are the ways to encrypt python files? > > No, I just want to hide the scripts from others. Why, are you ashamed of your code? Python is free, open source softw

Re: Encrypt python files

2015-05-06 Thread Palpandi
On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: > Hi, > > What are the ways to encrypt python files? No, I just want to hide the scripts from others. -- https://mail.python.org/mailman/listinfo/python-list

Re: Encrypt python files

2015-05-05 Thread Steven D'Aprano
On Wednesday 06 May 2015 16:37, Palpandi wrote: > Hi, > > What are the ways to encrypt python files? The same as the ways to encrypt any other file. Your encryption program shouldn't care whether you are encrypting text files, JPEGs, mp3 audio files, executable binary code, Python scripts, or

Re: Encrypt python files

2015-05-05 Thread David Palao
Hello, I'm afraid your question is either not well defined (or not well enough) or wrong for this list, at least as I understand it. Could you please explain it better? Best 2015-05-06 8:37 GMT+02:00 Palpandi : > Hi, > > What are the ways to encrypt python files? > -- > https://mail.python.org/ma