Re: hide python code !

2006-08-24 Thread Slawomir Nowaczyk
On Wed, 16 Aug 2006 18:35:37 -0700 enigmadude <[EMAIL PROTECTED]> wrote: #> Slawomir Nowaczyk wrote: #> > On Thu, 10 Aug 2006 17:35:27 -0700 #> > enigmadude <[EMAIL PROTECTED]> wrote: #> > #> > #> 2. I've never done this, but you might be able to encrypt or otherwise #> > #> turn you modules into

Re: hide python code !

2006-08-17 Thread Paul Boddie
danielx wrote: > [The suggestion that works apparently given away unconditionally become part of common culture.] > Extremely interesting point! This should really motivate people to > answer the question I posed earlier: Does an author of software forfeit > his rights to the code if he shares hi

Re: hide python code !

2006-08-17 Thread Gerhard Fiedler
On 2006-08-17 16:27:46, danielx wrote: > A second point to consider: The chip is patentable (I think this is the > case legally, as well as in the court of public opinion), No. A chip is not patentable. In your scenario, the /idea/ behind the chip's functionality may be patentable, but for a pat

Re: hide python code !

2006-08-17 Thread danielx
Paul Boddie wrote: > danielx wrote: > > > > But we have only considered the economics of such a decision. Even if > > there is no market value to a work, a person has an understandable > > desire to exercise the rights of ownership over a work, given the > > amount of personal investment one makes

Re: hide python code !

2006-08-17 Thread danielx
Steven D'Aprano wrote: > On Wed, 16 Aug 2006 13:39:10 -0700, danielx wrote: > > > Steven D'Aprano wrote: > >> On Tue, 15 Aug 2006 09:00:16 -0700, Ben Sizer wrote: > >> > >> > Yes, in much the same way that there is no point ever locking your > >> > doors or installing burglar alarms, as a determine

1. Re: hide python code ! (enigmadude)

2006-08-17 Thread Ronny Abraham
Actually the reason you want to have one layer of encryption isn't to prevent someone from understanding what you wrote, it's so that if some company decides to "acquire" your code, they can't claim that you had it in the public domain. I think even the most pathetic encryption can serve this purp

Re: hide python code !

2006-08-17 Thread Paul Boddie
danielx wrote: > > But we have only considered the economics of such a decision. Even if > there is no market value to a work, a person has an understandable > desire to exercise the rights of ownership over a work, given the > amount of personal investment one makes in producing it. There are oth

Re: hide python code !

2006-08-17 Thread Steven D'Aprano
On Wed, 16 Aug 2006 13:39:10 -0700, danielx wrote: > Steven D'Aprano wrote: >> On Tue, 15 Aug 2006 09:00:16 -0700, Ben Sizer wrote: >> >> > Yes, in much the same way that there is no point ever locking your >> > doors or installing burglar alarms, as a determined thief will >> > eventually steal y

Re: hide python code !

2006-08-16 Thread enigmadude
I'm pretty sure that just because someone is familiar with the PGP sources, for example, doesn't mean that they have the necessary keys to access other people's data across the internet. Also, I'm pretty sure I know how a prison door lock works, but if I'm behind bars and don't have the key, I'm st

Re: hide python code !

2006-08-16 Thread danielx
Steven D'Aprano wrote: > On Tue, 15 Aug 2006 09:00:16 -0700, Ben Sizer wrote: > > > Yes, in much the same way that there is no point ever locking your > > doors or installing burglar alarms, as a determined thief will > > eventually steal your belongings. > > That's an utterly pointless and foolish

Re: hide python code !

2006-08-15 Thread Steven D'Aprano
On Tue, 15 Aug 2006 09:00:16 -0700, Ben Sizer wrote: > Yes, in much the same way that there is no point ever locking your > doors or installing burglar alarms, as a determined thief will > eventually steal your belongings. That's an utterly pointless and foolish analogy. (1) If a thief breaks in

Re: hide python code !

2006-08-15 Thread danielx
Fuzzyman wrote: > Bayazee wrote: > > hi > > can we hide a python code ? > > if i want to write a commercial software can i hide my source code from > > users access ? > > we can conver it to pyc but this file can decompiled ... so ...!! > > do you have any idea about this ...? > > > > -

Re: hide python code !

2006-08-15 Thread Alex Martelli
Gerhard Fiedler <[EMAIL PROTECTED]> wrote: > On 2006-08-15 12:04:18, Alex Martelli wrote: > > > It just isn't worth Microsoft's while to take the public-relations hit > > of such a fight: much cheaper for them to re-implement your ideas than > > to copy your GPL'd code. > > Exactly. So by publis

Re: hide python code !

2006-08-15 Thread Gerhard Fiedler
On 2006-08-15 12:04:18, Alex Martelli wrote: > It just isn't worth Microsoft's while to take the public-relations hit > of such a fight: much cheaper for them to re-implement your ideas than > to copy your GPL'd code. Exactly. So by publishing the ideas as GPL code, the author presents them not o

Re: hide python code !

2006-08-15 Thread Paul Boddie
Ben Sizer wrote: > Paul Boddie wrote: > > Successful software businesses are not merely founded on the process of > > having ideas and implementing them - they might also need to be > > effective at delivering those ideas and going through the whole process > > again and again. Writing a neat utili

Re: hide python code !

2006-08-15 Thread Ben Sizer
Paul Boddie wrote: > Successful software businesses are not merely founded on the process of > having ideas and implementing them - they might also need to be > effective at delivering those ideas and going through the whole process > again and again. Writing a neat utility for Windows is not by it

Re: hide python code !

2006-08-15 Thread Alex Martelli
Gerhard Fiedler <[EMAIL PROTECTED]> wrote: > On 2006-08-14 20:48:45, Damjan wrote: > > > I think you increase your chances of Microsoft not even being in the same > > room with your software 100-fold if you release it under.. say GPL. > > ... and have the money to run a law suit? Patents, licens

Re: hide python code !

2006-08-15 Thread Philippe Martin
Bayazee wrote: > > Armin Steinhoff wrote: >> Bayazee wrote: >> > hi >> > can we hide a python code ? >> > if i want to write a commercial software can i hide my source code from >> > users access ? >> > we can conver it to pyc but this file can decompiled ... so ...!! >> > do you have any idea ab

Re: hide python code !

2006-08-15 Thread Gerhard Fiedler
On 2006-08-15 05:40:31, Armin Steinhoff wrote: >> First Iranian Open Source Community : www.python.ir > > Interesting ... but you are not a member of this community. Right? You know how to read a thread, right? :) Gerhard -- http://mail.python.org/mailman/listinfo/python-list

Re: hide python code !

2006-08-15 Thread Bayazee
Armin Steinhoff wrote: > Bayazee wrote: > > hi > > can we hide a python code ? > > if i want to write a commercial software can i hide my source code from > > users access ? > > we can conver it to pyc but this file can decompiled ... so ...!! > > do you have any idea about this ...? > > Use Pyrex

Re: hide python code !

2006-08-15 Thread Armin Steinhoff
Bayazee wrote: > hi > can we hide a python code ? > if i want to write a commercial software can i hide my source code from > users access ? > we can conver it to pyc but this file can decompiled ... so ...!! > do you have any idea about this ...? Use Pyrex in order to build C-Modules from the cri

Re: hide python code !

2006-08-14 Thread Gerhard Fiedler
On 2006-08-14 20:48:45, Damjan wrote: > I think you increase your chances of Microsoft not even being in the same > room with your software 100-fold if you release it under.. say GPL. ... and have the money to run a law suit? Patents, licenses etc are only as strong as the money that backs them,

Re: hide python code !

2006-08-14 Thread Damjan
> Imagine if you were the single-person developer of a small application > that did something quite innovative, and charged a small fee for your > product. Now imagine you were practically forced to make your algorithm > obvious - a couple of months later, Microsoft bring out a freeware > version a

Re: hide python code !

2006-08-14 Thread Paul Boddie
Ben Sizer wrote: > Paul Boddie wrote: > > Ben Sizer wrote: > > > > > > Imagine if you were the single-person developer of a small application > > > that did something quite innovative, and charged a small fee for your > > > product. Now imagine you were practically forced to make your algorithm > >

Re: hide python code !

2006-08-14 Thread Ben Sizer
Steven D'Aprano wrote: > On Fri, 11 Aug 2006 09:18:12 -0700, Ben Sizer wrote: > > > Imagine if you were the single-person developer of a small application > > that did something quite innovative, > > And imagine that you found a money-tree in your back yard... > > How about a more likely scenario?

Re: hide python code !

2006-08-14 Thread Ben Sizer
Paul Boddie wrote: > Ben Sizer wrote: > > > > Imagine if you were the single-person developer of a small application > > that did something quite innovative, and charged a small fee for your > > product. Now imagine you were practically forced to make your algorithm > > obvious - a couple of months

Re: hide python code !

2006-08-14 Thread Steven D'Aprano
On Fri, 11 Aug 2006 09:18:12 -0700, Ben Sizer wrote: > Imagine if you were the single-person developer of a small application > that did something quite innovative, And imagine that you found a money-tree in your back yard... How about a more likely scenario? Imagine you're using a boring, run-

Re: hide python code !

2006-08-14 Thread Steven D'Aprano
On Fri, 11 Aug 2006 06:16:26 -0700, Fuzzyman wrote: > What you can do with Python is almost certainly *good enough* for most > people who ask this question - and that fact never seems to be included > in the 'reality' propogated by the knee jerk reactionists... :-p The Original Poster *explicitly

Re: hide python code !

2006-08-12 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Bayazee <[EMAIL PROTECTED]> wrote: >Hi, >ThnaX for Your Answers ... >i am an open source programmer ... ! and i never like to write a closed >source app or hide my codes ! it just a question that i must >answer/solve it! >one of site ( www.python.ir ) users asked thi

Re: hide python code !

2006-08-11 Thread Grant Edwards
On 2006-08-12, Ben Finney <[EMAIL PROTECTED]> wrote: > The only thing I can see in there you might object to is the "you and > others like you". Here, "you" is "Python programmers". By hiding the > source code to their programs, they will hide it from any Python > programmers. And hiding Python c

Re: hide python code !

2006-08-11 Thread Philippe Martin
Bayazee wrote: > Hi, > ThnaX for Your Answers ... > i am an open source programmer ... ! and i never like to write a closed > source app or hide my codes ! it just a question that i must > answer/solve it! > one of site ( www.python.ir ) users asked this question ! but > unfortunately i have't any

Re: hide python code !

2006-08-11 Thread Bayazee
Hi, ThnaX for Your Answers ... i am an open source programmer ... ! and i never like to write a closed source app or hide my codes ! it just a question that i must answer/solve it! one of site ( www.python.ir ) users asked this question ! but unfortunately i have't any solution to it ! so i ask it

Re: hide python code !

2006-08-11 Thread Ben Finney
"Fuzzyman" <[EMAIL PROTECTED]> writes: > Terry Reedy wrote: > > Let's clarify the question: "Dear Python programmers: please tell > > me for free how I can hide my code from you and others like you." > > And categorising their intent in this way I don't see how this categorises intent at all. It

Re: hide python code !

2006-08-11 Thread Ben Finney
"Fuzzyman" <[EMAIL PROTECTED]> writes: > Paul Boddie wrote: > > Well, given the pace of technological development and the > > disregard in some environments for perpetual backward > > compatibility, how much of your infrastructure would you implement > > in vendor-supplied binaries, especially whe

Re: hide python code !

2006-08-11 Thread Fuzzyman
Terry Reedy wrote: > "Fuzzyman" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I never understand the knee-jerk reaction on this mailing list to > > answer people who ask this question by telling them they don't really > > want to do it... > > Let's clarify the question: "Dear

Re: hide python code !

2006-08-11 Thread Philippe Martin
Bayazee wrote: > hi > can we hide a python code ? > if i want to write a commercial software can i hide my source code from > users access ? > we can conver it to pyc but this file can decompiled ... so ...!! > do you have any idea about this ...? > > --- > Fir

Re: hide python code !

2006-08-11 Thread Paul Boddie
Ben Sizer wrote: > > Imagine if you were the single-person developer of a small application > that did something quite innovative, and charged a small fee for your > product. Now imagine you were practically forced to make your algorithm > obvious - a couple of months later, Microsoft bring out a f

Re: hide python code !

2006-08-11 Thread Terry Reedy
"Fuzzyman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I never understand the knee-jerk reaction on this mailing list to > answer people who ask this question by telling them they don't really > want to do it... Let's clarify the question: "Dear Python programmers: please tell

Re: hide python code !

2006-08-11 Thread Ben Sizer
Paul Boddie wrote: > Ben Sizer wrote: > > > > It's worth remembering that there is a massive amount of software that > > has nothing to do with 'infrastructure', that won't need to be > > maintained, or upgraded. Examples include most retail software for the > > home or small office, and most enter

Re: hide python code !

2006-08-11 Thread Paul Boddie
Ben Sizer wrote: > > It's worth remembering that there is a massive amount of software that > has nothing to do with 'infrastructure', that won't need to be > maintained, or upgraded. Examples include most retail software for the > home or small office, and most entertainment software. Developers o

Re: hide python code !

2006-08-11 Thread Duncan Booth
Fuzzyman wrote: > Tim Chase wrote: > [snip] >> However, it's better to have a good relationship with your >> customers and know that they will adhere to licensing conditions, >> rather than to try and strong-arm them into behaving a particular >> way. >> > > Don't forget that distributing y

Re: hide python code !

2006-08-11 Thread Ben Sizer
Paul Boddie wrote: > Fuzzyman wrote: > > I never understand the knee-jerk reaction on this mailing list to > > answer people who ask this question by telling them they don't really > > want to do it... > > Well, given the pace of technological development and the disregard in > some environments fo

Re: hide python code !

2006-08-11 Thread Helmut Jarausch
John Machin wrote: > Bayazee wrote: >> hi >> can we hide a python code ? >> if i want to write a commercial software can i hide my source code from > [1] >> users access ? >> we can conver it to pyc but this file can decompiled ... so ...!! >> do

Re: hide python code !

2006-08-11 Thread Paul Boddie
Fuzzyman wrote: > Paul Boddie wrote: > > Fuzzyman wrote: > > > > > I never understand the knee-jerk reaction on this mailing list to > > > answer people who ask this question by telling them they don't really > > > want to do it... Note your choice of words: "don't really want to do it". [...] >

Re: hide python code !

2006-08-11 Thread Fuzzyman
Tim Chase wrote: [snip] > However, it's better to have a good relationship with your > customers and know that they will adhere to licensing conditions, > rather than to try and strong-arm them into behaving a particular > way. > Don't forget that distributing your source code is more of a

Re: hide python code !

2006-08-11 Thread Paul Boddie
Fuzzyman wrote: > Paul Boddie wrote: [Skype paper] > > I'd recommend an > > upgrade to any business plan which relies on obfuscation to prevent > > "unauthorised" use or modification. Indeed, I'd recommend that any such > > entrepreneur think twice about starting a traditional proprietary > > sof

Re: hide python code !

2006-08-11 Thread Fuzzyman
Tim Chase wrote: > >> can we hide a python code ? > >> if i want to write a commercial software can i hide my source code from > >> users access ? > >> we can conver it to pyc but this file can decompiled ... so ...!! > > > > All of these make it hard enough to deter most people who will ever > >

Re: hide python code !

2006-08-11 Thread Fuzzyman
Paul Boddie wrote: > Fuzzyman wrote: > > Bayazee wrote: > > > can we hide a python code ? > > > if i want to write a commercial software can i hide my source code from > > > users access ? > > > we can conver it to pyc but this file can decompiled ... so ...!! > > [...] > > > You can distribute th

Re: hide python code !

2006-08-11 Thread Tim Chase
>> can we hide a python code ? >> if i want to write a commercial software can i hide my source code from >> users access ? >> we can conver it to pyc but this file can decompiled ... so ...!! > > All of these make it hard enough to deter most people who will ever > want to abuse your source code.

Re: hide python code !

2006-08-11 Thread Paul Boddie
Fuzzyman wrote: > Bayazee wrote: > > can we hide a python code ? > > if i want to write a commercial software can i hide my source code from > > users access ? > > we can conver it to pyc but this file can decompiled ... so ...!! [...] > You can distribute the compiled byte-code files (*.pyc) whi

Re: hide python code !

2006-08-11 Thread Fuzzyman
Paul Boddie wrote: [snip..] > I've previously mentioned a very interesting paper which not only > described the reverse engineering of the Skype protocol and software > but also described how to make interoperating Skype clients. Given that > the well-financed developers spent a lot of time introd

Re: hide python code !

2006-08-11 Thread Fuzzyman
Bayazee wrote: > hi > can we hide a python code ? > if i want to write a commercial software can i hide my source code from > users access ? > we can conver it to pyc but this file can decompiled ... so ...!! > do you have any idea about this ...? > > --- > Firs

Re: hide python code !

2006-08-11 Thread Paul Boddie
Cameron Laird wrote: > Steven D'Aprano wrote: > >Hiding source code is incompatible with Open Source software. You can hide > >code, or be Open Source, but not both. [...] > I also disagree with your characterization of Open Source. I don't know which part of the open source movement would toler

Re: hide python code !

2006-08-11 Thread Slawomir Nowaczyk
On Thu, 10 Aug 2006 17:35:27 -0700 enigmadude <[EMAIL PROTECTED]> wrote: #> 2. I've never done this, but you might be able to encrypt or otherwise #> turn you modules into binary form, and then use a clever import #> hook. Please observe that whatever the "clever import hook" is, it actually need

Re: hide python code !

2006-08-11 Thread Rob Wolfe
John Machin wrote: > If you want to distribute obfuscated code, consider writing it in perl > :-) LOL That's really strong protection. Machine code is too easy to reverse engineer. :) Regards, Rob -- http://mail.python.org/mailman/listinfo/python-list

Re: hide python code !

2006-08-11 Thread Bruno Desthuilliers
Steven D'Aprano wrote: (snip) > If you really want something which compiles to machine code, then Python > is not the language for you. Use another language. > But that won't protect your software from piracy anyway. -- http://mail.python.org/mailman/listinfo/python-list

Re: hide python code !

2006-08-11 Thread Bruno Desthuilliers
Bayazee wrote: > hi > can we hide a python code ? > if i want to write a commercial software can i hide my source code from > users access ? > we can conver it to pyc but this file can decompiled ... so ...!! It's just the same with java byte-code or machine code. FWIW, I had a cracked (and locali

Re: hide python code !

2006-08-10 Thread Ben Finney
"Bayazee" <[EMAIL PROTECTED]> writes: > can we hide a python code ? Sure; don't distribute it to anyone. Then they can't run the program or inspect it or anything. > if i want to write a commercial software can i hide my source code > from users access ? You can write commercial software and se

Re: hide python code !

2006-08-10 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Steven D'Aprano <[EMAIL PROTECTED]> wrote: >On Thu, 10 Aug 2006 17:03:51 -0700, Bayazee wrote: > >> hi >> in compiled languages when we compile a code to an executable file it >> convert to a machine code so now we cant access to source ... > >There are disassembler

Re: hide python code !

2006-08-10 Thread Simon Forman
Bayazee wrote: > hi > in compiled languages when we compile a code to an executable file it > convert to a machine code so now we cant access to source ... It can still be disassembled and reverse engineered. > but in python we easily open the program executable(ascii) file and > read source ...

Re: hide python code !

2006-08-10 Thread enigmadude
I don't think you're the first person that has wondered about this. But you might have some options: 1. If you are running it on Windows only, use py2exe to wrap it up as an executable. 2. I've never done this, but you might be able to encrypt or otherwise turn you modules into binary form, and th

Re: hide python code !

2006-08-10 Thread Steven D'Aprano
On Thu, 10 Aug 2006 17:03:51 -0700, Bayazee wrote: > hi > in compiled languages when we compile a code to an executable file it > convert to a machine code so now we cant access to source ... There are disassemblers for machine code. If somebody really wants to see how your code works, they can d

Re: hide python code !

2006-08-10 Thread John Machin
Bayazee wrote: > hi > in compiled languages when we compile a code to an executable file it > convert to a machine code so now we cant access to source ... > but in python we easily open the program executable(ascii) file and > read source > i meen than any way to protect my code or convert

Re: hide python code !

2006-08-10 Thread Bayazee
hi in compiled languages when we compile a code to an executable file it convert to a machine code so now we cant access to source ... but in python we easily open the program executable(ascii) file and read source i meen than any way to protect my code or convert it to executable witch can n

Re: hide python code !

2006-08-10 Thread John Machin
Bayazee wrote: > hi > can we hide a python code ? > if i want to write a commercial software can i hide my source code from [1] > users access ? > we can conver it to pyc but this file can decompiled ... so ...!! > do you have any idea about thi

hide python code !

2006-08-10 Thread Bayazee
hi can we hide a python code ? if i want to write a commercial software can i hide my source code from users access ? we can conver it to pyc but this file can decompiled ... so ...!! do you have any idea about this ...? --- First Iranian Open Source Community :