RE: Windows installer from python source code without access to source code

2023-04-09 Thread Jim Schwartz
7:28 AM To: 'Eryk Sun' Cc: python-list@python.org Subject: RE: Windows installer from python source code without access to source code Is this what you'd recommend doing when distributing a cython-generated code compiled with cl. I want to distribute this in a windows or other o

Re: Windows installer from python source code without access to source code

2023-04-07 Thread Mark Bourne
MRAB wrote: On 2023-04-06 23:14, Jim Schwartz wrote:     Could someone please help Carlos?  I’m not sure how to answer his     question     Sent from my iPhone   On Apr 6, 2023, at 3:53 PM, Carlos Fulqueris wrote:      Hello Jim,   How can I unsubscribe to this email list?

RE: Windows installer from python source code without access to source code

2023-04-07 Thread Jim Schwartz
: 'python-list@python.org' Subject: RE: Windows installer from python source code without access to source code Yea, thanks a lot. That makes sense. I was testing it on my development environment and got it to work that way, but I need to package it and test it on my dual boot "user&

RE: Windows installer from python source code without access to source code

2023-04-07 Thread Jim Schwartz
From: Eryk Sun Sent: Thursday, April 6, 2023 8:06 PM To: Jim Schwartz Cc: python-list@python.org Subject: Re: Windows installer from python source code without access to source code On 4/6/23, Jim Schwartz wrote: > Never mind. I found it on the web. I needed to point my PYTHONPATH &

Re: Windows installer from python source code without access to source code

2023-04-06 Thread Eryk Sun
On 4/6/23, Jim Schwartz wrote: > Never mind. I found it on the web. I needed to point my PYTHONPATH to > sitepackages: In most cases an application should be isolated from PYTHON* environment variables. If you're creating a Python application or embedding Python in an application, use the embed

RE: Windows installer from python source code without access to source code

2023-04-06 Thread Jim Schwartz
' Cc: python-list@python.org Subject: RE: Windows installer from python source code without access to source code I downloaded VS community 2022 and I know how to access the developer command prompt. I'm using the one called x64 Native Tools Command Prompt for VS 2022 I ran a comman

Re: Windows installer from python source code without access to source code

2023-04-06 Thread MRAB
On 2023-04-06 23:14, Jim Schwartz wrote: Could someone please help Carlos?  I’m not sure how to answer his question Sent from my iPhone On Apr 6, 2023, at 3:53 PM, Carlos Fulqueris wrote:  Hello Jim, How can I unsubscribe to this email list? I'm wait

Re: Windows installer from python source code without access to source code

2023-04-06 Thread Jim Schwartz
arrys-emacs.org> Sent: Tuesday, April 4, 2023 1:25 PM To: Jim Schwartz <[3]jsch...@sbcglobal.net> Cc: Eryk Sun <[4]eryk...@gmail.com>; [5]python-list@python.org Subject: Re: Windows installer from python source code without access to source cod

RE: Windows installer from python source code without access to source code

2023-04-06 Thread Jim Schwartz
4, 2023 1:25 PM To: Jim Schwartz Cc: Eryk Sun ; python-list@python.org Subject: Re: Windows installer from python source code without access to source code > On 4 Apr 2023, at 16:28, Jim Schwartz wrote: > > Where can I download that cl program? I've used gcc before, but I hear

Re: Windows installer from python source code without access to source code

2023-04-04 Thread Barry
o C++. Once you have that installed there are bat files that setup environment in the terminal. Then you can use cl, nmake etc Barry > > -Original Message- > From: Eryk Sun > Sent: Friday, March 31, 2023 12:55 PM > To: Jim Schwartz > Cc: python-list@python.org > S

RE: Windows installer from python source code without access to source code

2023-04-04 Thread Jim Schwartz
z Cc: python-list@python.org Subject: Re: Windows installer from python source code without access to source code On 3/31/23, Jim Schwartz wrote: > I want a windows installer to install my application that's written in > python, but I don't want the end user to have access to my sou

Re: Windows installer from python source code without access to source code

2023-04-01 Thread Thomas Passin
On 4/1/2023 5:24 AM, Jim Schwartz wrote: I am writing an app but I’m not sure I’ll sell it yet. I have it in a private GitHub location and GitHub prompts me for a license. I don’t really understand licenses so I just picked Apache 2.0. Maybe I’m going too far with my worry about which license

Re: Windows installer from python source code without access to source code

2023-04-01 Thread Chris Angelico
On Sat, 1 Apr 2023 at 20:24, Jim Schwartz wrote: > > I am writing an app but I’m not sure I’ll sell it yet. I have it in a private > GitHub location and GitHub prompts me for a license. I don’t really > understand licenses so I just picked Apache 2.0. Maybe I’m going too far with > my worry abo

Re: Windows installer from python source code without access to source code

2023-04-01 Thread Jim Schwartz
I am writing an app but I’m not sure I’ll sell it yet. I have it in a private GitHub location and GitHub prompts me for a license. I don’t really understand licenses so I just picked Apache 2.0. Maybe I’m going too far with my worry about which license I pick. I’m not selling it now so it doesn’

Re: Windows installer from python source code without access to source code

2023-04-01 Thread Chris Angelico
On Sat, 1 Apr 2023 at 13:16, <2qdxy4rzwzuui...@potatochowder.com> wrote: > > On 2023-04-01 at 10:49:18 +1100, > Chris Angelico wrote: > > > [...] I don't have access to the Gmail source code but I'm using the > > service [...] > > You have access to Gmail's front end source code. Your web browser

Re: Windows installer from python source code without access to source code

2023-03-31 Thread 2QdxY4RzWzUUiLuE
On 2023-04-01 at 10:49:18 +1100, Chris Angelico wrote: > [...] I don't have access to the Gmail source code but I'm using the > service [...] You have access to Gmail's front end source code. Your web browser runs it every time you use the service (and probably while you aren't using the servic

Re: Windows installer from python source code without access to source code

2023-03-31 Thread Chris Angelico
On Sat, 1 Apr 2023 at 10:34, Jim Schwartz wrote: > > Yea. You’re right. I probably need a lawyer someday. Thanks. > If your needs are basic, you shouldn't need a lawyer. Copyright law and treaties DO protect you. But it's important to be aware that no amount of legal protection - whether you hire

Re: Windows installer from python source code without access to source code

2023-03-31 Thread Jim Schwartz
r who > practices in this field. > > >> -Original Message- >> From: Python-list On >> Behalf Of Chris Angelico >> Sent: Friday, March 31, 2023 7:09 AM >> To: python-list@python.org >> Subject: Re: Windows installer from python source code with

Re: Windows installer from python source code without access to source code

2023-03-31 Thread Thomas Passin
phone apps developers include with their apps. And it would be good to consult a lawyer who practices in this field. -Original Message- From: Python-list On Behalf Of Chris Angelico Sent: Friday, March 31, 2023 7:09 AM To: python-list@python.org Subject: Re: Windows installer from python s

RE: Windows installer from python source code without access to source code

2023-03-31 Thread Jim Schwartz
What license do I have to choose so people can't use my code? I don't know this stuff. -Original Message- From: Python-list On Behalf Of Chris Angelico Sent: Friday, March 31, 2023 7:09 AM To: python-list@python.org Subject: Re: Windows installer from python source code with

Re: Windows installer from python source code without access to source code

2023-03-31 Thread Eryk Sun
On 3/31/23, Jim Schwartz wrote: > I want a windows installer to install my application that's written in > python, but I don't want the end user to have access to my source code. Cython can compile a script to C source code for a module or executable (--embed). The source can be compiled and link

Re: Windows installer from python source code without access to source code

2023-03-31 Thread Alan Gauld
On 31/03/2023 13:00, Jim Schwartz wrote: > I want a windows installer to install my application that's written in > python, but I don't want the end user to have access to my source code. Others have commented that at some level it will always be thre but on a more pragmatic level tools like py2

Re: Windows installer from python source code without access to source code

2023-03-31 Thread Thomas Passin
On 3/31/2023 10:14 AM, jkn wrote: On Friday, March 31, 2023 at 1:09:12 PM UTC+1, Chris Angelico wrote: On Fri, 31 Mar 2023 at 23:01, Jim Schwartz wrote: I want a windows installer to install my application that's written in python, but I don't want the end user to have access to my source cod

Re: Windows installer from python source code without access to source code

2023-03-31 Thread jkn
On Friday, March 31, 2023 at 1:09:12 PM UTC+1, Chris Angelico wrote: > On Fri, 31 Mar 2023 at 23:01, Jim Schwartz wrote: > > > > I want a windows installer to install my application that's written in > > python, but I don't want the end user to have access to my source code. > > > > > > > >

Re: Windows installer from python source code without access to source code

2023-03-31 Thread Chris Angelico
On Fri, 31 Mar 2023 at 23:01, Jim Schwartz wrote: > > I want a windows installer to install my application that's written in > python, but I don't want the end user to have access to my source code. > > > > Is that possible using python? I was using cx-freeze, but that has the > source code avail

Windows installer from python source code without access to source code

2023-03-31 Thread Jim Schwartz
I want a windows installer to install my application that's written in python, but I don't want the end user to have access to my source code. Is that possible using python? I was using cx-freeze, but that has the source code available. So does pyinstaller. I think gcc does, too. Does

Re: Valid encodings for a Python source file

2018-06-08 Thread Thomas Jollans
On 2018-06-07 22:40, Daniel Glus wrote: > I'm trying to figure out the entire list of possible encodings for a Python > source file - that is, encodings that can go in a PEP 263 > <https://www.python.org/dev/peps/pep-0263/> encoding specification, like # > -*- encoding: foo

Re: Valid encodings for a Python source file

2018-06-08 Thread Richard Damon
On 6/7/18 4:40 PM, Daniel Glus wrote: > I'm trying to figure out the entire list of possible encodings for a Python > source file - that is, encodings that can go in a PEP 263 > <https://www.python.org/dev/peps/pep-0263/> encoding specification, like # > -*- encoding: foo -*

Re: Valid encodings for a Python source file

2018-06-07 Thread Terry Reedy
On 6/7/2018 4:40 PM, Daniel Glus wrote: I'm trying to figure out the entire list of possible encodings for a Python source file - that is, encodings that can go in a PEP 263 <https://www.python.org/dev/peps/pep-0263/> encoding specification, like # -*- encoding: foo -*-. For n

Re: Valid encodings for a Python source file

2018-06-07 Thread Ben Finney via Python-list
Daniel Glus writes: > I'm trying to figure out the entire list of possible encodings for a Python > source file - that is, encodings that can go in a PEP 263 > <https://www.python.org/dev/peps/pep-0263/> encoding specification, like # > -*- encoding: foo -*-. What

Valid encodings for a Python source file

2018-06-07 Thread Daniel Glus
I'm trying to figure out the entire list of possible encodings for a Python source file - that is, encodings that can go in a PEP 263 <https://www.python.org/dev/peps/pep-0263/> encoding specification, like # -*- encoding: foo -*-. Is this list the same as the list given in the docume

Re: python source code

2017-03-22 Thread Erik
On 22/03/17 21:57, M. R.P. wrote: does anyone know were I can [find?] python source code programs? Are you looking for the source to a Python language implementation itself? If so, see this link: https://www.python.org/downloads/ If not, what are you looking for, exactly? What sort of

Re: python source code

2017-03-22 Thread Thomas Nyberg
On 03/22/2017 05:57 PM, M. R.P. wrote: does anyone know were I can python source code programs? The source code for cpython (i.e. the most common interpreter) can be found here: https://www.python.org/downloads/source/ https://github.com/python/cpython Unless you mean the

python source code

2017-03-22 Thread M. R.P.
does anyone know were I can python source code programs? -- https://mail.python.org/mailman/listinfo/python-list

Re: Python source repo

2016-09-11 Thread Terry Reedy
On 9/10/2016 11:27 AM, Steve D'Aprano wrote: On Sun, 11 Sep 2016 01:04 am, Steve D'Aprano wrote: I ran hg fetch to update the CPython repo. I use pull (to local repository) and update (working directory) separately in the following script (pull.bat), based on either the devguide or what Tor

Re: Python source repo

2016-09-11 Thread Andrea D'Amore
On 2016-09-10 15:27:07 +, Steve D'Aprano said: Never mind. I got bored and frustrated and Ctrl-C'ed the process and ran it again. This time it took about 15 seconds to complete. Out of curiosity I checked for python debugger with "attach" feature (aking to gdb/lldb) and I found a few but

Re: Python source repo

2016-09-10 Thread Steve D'Aprano
On Sun, 11 Sep 2016 01:04 am, Steve D'Aprano wrote: > I ran hg fetch to update the CPython repo. > > It has been stuck on "adding changesets" for half an hour. I don't know if > that's because the process has locked up, or because there really are that > many new changesets and it will simply tak

Python source repo

2016-09-10 Thread Steve D'Aprano
I ran hg fetch to update the CPython repo. It has been stuck on "adding changesets" for half an hour. I don't know if that's because the process has locked up, or because there really are that many new changesets and it will simply take a long time to process them. (With the 3.6 beta just around

Re: Max size of Python source code and compiled equivalent

2016-07-21 Thread Peter Otten
t. I've searched for Python documentation that > covers max Python source (*.py) and compiled file (*.pyc) sizes without > success. Any tips on where to look for this information? > > Background: Python 3.5.1 on Linux. I don't know if/where this is documented, but ther

Re: Max size of Python source code and compiled equivalent

2016-07-21 Thread Malcolm Greene
> Heh, great question, and I'm curious too! But one place to get a bit more > info is the standard library. > > rosuav@sikorsky:~/cpython/Lib$ find -name \*.py|xargs ls -lS|head > -rw-r--r-- 1 rosuav rosuav 624122 Jul 17 17:38 ./pydoc_data/topics.py Brilliant! :) Thanks Chris! Malcolm -- http

Re: Max size of Python source code and compiled equivalent

2016-07-21 Thread Chris Angelico
t we > need to be concerned about. I've searched for Python documentation that > covers max Python source (*.py) and compiled file (*.pyc) sizes without > success. Any tips on where to look for this information? Heh, great question, and I'm curious too! But one place to get a bit more i

Max size of Python source code and compiled equivalent

2016-07-21 Thread Malcolm Greene
at covers max Python source (*.py) and compiled file (*.pyc) sizes without success. Any tips on where to look for this information? Background: Python 3.5.1 on Linux. Thank you, Malcolm -- https://mail.python.org/mailman/listinfo/python-list

Re: regex tool in the python source tree

2014-12-19 Thread Rustom Mody
On Saturday, December 20, 2014 12:01:10 PM UTC+5:30, Rustom Mody wrote: > I remember seeing here (couple of weeks ago??) a mention of a regex > debugging/editing tool hidden away in the python source tree. > > Does someone remember the name/path? > > There are of course doz

regex tool in the python source tree

2014-12-19 Thread Rustom Mody
I remember seeing here (couple of weeks ago??) a mention of a regex debugging/editing tool hidden away in the python source tree. Does someone remember the name/path? There are of course dozens of online ones... Looking for a python native tool -- https://mail.python.org/mailman/listinfo

Re: Obscuring Python source from end users

2014-10-02 Thread Chris Angelico
llows: 1) The *solution* is to fix the audit process. 2) But here's one of several *work-arounds*. It may well be impossible to truly solve the problem, and I'm aware of that. But sometimes you need to point out that a pyc-only distribution is still distributing something very VER

Re: Obscuring Python source from end users

2014-10-02 Thread Johannes Bauer
On 29.09.2014 16:53, Sturla Molden wrote: > Chris Angelico wrote: > >>> I have a project that involves distributing Python code to users in an >>> organisation. Users do not interact directly with the Python code; they >>> only know this project as an Excel add-in. >>> >>> Now, internal audit tak

Re: Obscuring Python source from end users

2014-10-02 Thread Steven D'Aprano
Marko Rauhamaa wrote: > Dan Stromberg : > >> On Mon, Sep 29, 2014 at 4:47 AM, Steven D'Aprano >>> Yes. Distribute the pyc files only. >> >> Yes, this is the way it's usually done. > > Has the .pyc file format stabilized? A decade ago, my employer shipped > an application as .pyc files but had to

Re: Obscuring Python source from end users

2014-10-02 Thread Terry Reedy
On 10/2/2014 1:17 AM, Marko Rauhamaa wrote: Dan Stromberg : On Mon, Sep 29, 2014 at 4:47 AM, Steven D'Aprano Yes. Distribute the pyc files only. Yes, this is the way it's usually done. Has the .pyc file format stabilized? No. The cache files are binary specific and are so labelled. x.py

Re: Obscuring Python source from end users

2014-10-01 Thread Marko Rauhamaa
Dan Stromberg : > On Mon, Sep 29, 2014 at 4:47 AM, Steven D'Aprano >> Yes. Distribute the pyc files only. > > Yes, this is the way it's usually done. Has the .pyc file format stabilized? A decade ago, my employer shipped an application as .pyc files but had to ship the matching CPython binary wit

Re: Obscuring Python source from end users

2014-10-01 Thread Dan Stromberg
On Mon, Sep 29, 2014 at 4:47 AM, Steven D'Aprano wrote: > norman.i...@gmail.com wrote: > >> Hello list >> >> Python 3.4 applies. >> >> I have a project that involves distributing Python code to users in an >> organisation. Users do not interact directly with the Python code; they >> only know this

Re: Obscuring Python source from end users

2014-09-29 Thread Sturla Molden
Chris Angelico wrote: >> I have a project that involves distributing Python code to users in an >> organisation. Users do not interact directly with the Python code; they >> only know this project as an Excel add-in. >> >> Now, internal audit takes exception in some cases if users are able to >>

Re: Obscuring Python source from end users

2014-09-29 Thread Sturla Molden
Steven D'Aprano wrote: > Another possibility is to distribute your modules inside a zip file. See > here: > > https://mail.python.org/pipermail/python-list/2014-July/675506.html > > Such zip files are not just runnable, but also importable. Depending on your > Excel requirements, you might need

Re: Obscuring Python source from end users

2014-09-29 Thread Steven D'Aprano
norman.i...@gmail.com wrote: > Hello list > > Python 3.4 applies. > > I have a project that involves distributing Python code to users in an > organisation. Users do not interact directly with the Python code; they > only know this project as an Excel add-in. > > Now, internal audit takes excep

Re: Obscuring Python source from end users

2014-09-29 Thread Chris Angelico
On Mon, Sep 29, 2014 at 6:55 PM, Chris Angelico wrote: > It ought to be possible to do an AST reconstitution for at least part > of this. I can hunt down some of my PEP 463 test code to help out with > that. It should be possible to figure out what names are local, and > then just use those. > > I

Re: Obscuring Python source from end users

2014-09-29 Thread Chris Angelico
On Mon, Sep 29, 2014 at 6:41 PM, wrote: > Crunching the source is an interesting idea that could achieve that end, but > it seems fraught with problems like maintaining consistency between renaming > objects in a module and renaming where imports happen. > Here's a technique that you could use

Re: Obscuring Python source from end users

2014-09-29 Thread alister
On Mon, 29 Sep 2014 00:36:47 -0700, norman.ives wrote: > Hello list > > Python 3.4 applies. > > I have a project that involves distributing Python code to users in an > organisation. Users do not interact directly with the Python code; they > only know this project as an Excel add-in. > > Now,

Re: Obscuring Python source from end users

2014-09-29 Thread norman . ives
Thanks for the reply! I'm not concerned about hiding the source code in a fundamental way. The condition that needs to be satisfied is that independent validators (in the organisation) must not "have access" to the source code. Crunching the source is an interesting idea that could achieve that

Re: Obscuring Python source from end users

2014-09-29 Thread Chris Angelico
On Mon, Sep 29, 2014 at 5:36 PM, wrote: > I have a project that involves distributing Python code to users in an > organisation. Users do not interact directly with the Python code; they only > know this project as an Excel add-in. > > Now, internal audit takes exception in some cases if users

Obscuring Python source from end users

2014-09-29 Thread norman . ives
Hello list Python 3.4 applies. I have a project that involves distributing Python code to users in an organisation. Users do not interact directly with the Python code; they only know this project as an Excel add-in. Now, internal audit takes exception in some cases if users are able to see th

Re: Make Python Compilable, convert to Python source to Go

2014-05-26 Thread Steven D'Aprano
On Mon, 26 May 2014 12:17:10 +0100, Mark Lawrence wrote: > On 26/05/2014 07:31, Devin Jeanpierre wrote: >> On Sun, May 25, 2014 at 3:24 AM, Mark Lawrence >> wrote: >>> On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. >>> That's good to know, it'll

Re: Make Python Compilable, convert to Python source to Go

2014-05-26 Thread Mark Lawrence
On 26/05/2014 07:31, Devin Jeanpierre wrote: On Sun, May 25, 2014 at 3:24 AM, Mark Lawrence wrote: On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. This seems like an unnecessarily harsh w

Re: Make Python Compilable, convert to Python source to Go

2014-05-26 Thread Stefan Behnel
Ben Finney, 26.05.2014 05:20: > bookaa bookaa writes: >> Generally, people consider Python as a script language. >> It has high development efficiency >> but run too slowly > > Which Python implementation are you talking about? Run time is not a > property of the language. It is a property of the

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Devin Jeanpierre
On Sun, May 25, 2014 at 3:24 AM, Mark Lawrence wrote: > On 25/05/2014 09:17, bookaa bookaa wrote: >> >> Maybe I will work on Python 3 later. >> > > That's good to know, it'll save me wasting my time looking at it now. This seems like an unnecessarily harsh way of putting it, Mark. Could you be le

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Ben Finney
property of the language. It is a property of the language implementation. > interpret running, and can not compile. Python is always compiled in order to run. The process of turning Python source into Python bytecode *is* compilation. > It depends to Python environment, can not employ alone

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Mark Lawrence
On 25/05/2014 12:02, mm0fmf wrote: On 25/05/2014 11:24, Mark Lawrence wrote: On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. OT: Mark, you've been pro-Python3 enough in your recent postings

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread mm0fmf
On 25/05/2014 11:24, Mark Lawrence wrote: On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. OT: Mark, you've been pro-Python3 enough in your recent postings you have forced me to act. I've ju

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Mark Lawrence
On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is fr

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Stefan Behnel
bookaa bookaa, 25.05.2014 10:17: > I think the significance of Python to Go, is it give us opportunity to > make Python project run fast. You shouldn't make that your only goal, because you'll have a really hard time achieving it (to put it mildly). Stefan -- https://mail.python.org/mailman/l

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Chris Angelico
ance like? Presumably significantly better than >> CPython, as that's what you're boasting here. Have you run a >> standardized benchmark? How do the numbers look? > > I must admit that after automaticaly convert Python source to Go, compile > to EXE, the running speed is ju

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread bookaa bookaa
On Sunday, May 25, 2014 12:47:27 PM UTC+8, Chris Angelico wrote: > On Sun, May 25, 2014 at 1:06 PM, bookaa wrote: > > > This tool can be called 'Python to GoLang', which translate Python source > > to Golang source. And then you can compile the Go files to executabl

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread wxjmfauth
My opinions about Go. i) go build XXX that creates an exe, one can put on a usb stick and run (distribute) it, is a feature hard to beat. I do not know, if it will be rendered correctly. D:\jm\jmgo>hello3.exe ASCII abcde xyz Germanäöü ÄÖÜ ß Polishąęźżńł Russian абвгдеж эюя CJK

Re: Make Python Compilable, convert to Python source to Go

2014-05-24 Thread Chris Angelico
On Sun, May 25, 2014 at 1:06 PM, bookaa bookaa wrote: > This tool can be called 'Python to GoLang', which translate Python source to > Golang source. And then you can compile the Go files to executable binary. > (btw: Go is a new C-like compilable language, open source). &g

Make Python Compilable, convert to Python source to Go

2014-05-24 Thread bookaa bookaa
Make Python Compilable This tool can be called 'Python to GoLang', which translate Python source to Golang source. And then you can compile the Go files to executable binary. (btw: Go is a new C-like compilable language, open source). Generally, people consider Python as a script la

Re: Is it possible to protect python source code by compiling it to .pyc or .pyo?

2014-01-17 Thread Tim Delaney
On 18 January 2014 08:31, Joshua Landau wrote: > On 17 January 2014 00:58, Sam wrote: > > I would like to protect my python source code. It need not be foolproof > as long as it adds inconvenience to pirates. > > > > Is it possible to protect python source code by compil

Re: Is it possible to protect python source code by compiling it to .pyc or .pyo?

2014-01-17 Thread Joshua Landau
On 17 January 2014 00:58, Sam wrote: > I would like to protect my python source code. It need not be foolproof as > long as it adds inconvenience to pirates. > > Is it possible to protect python source code by compiling it to .pyc or .pyo? > Does .pyo offer better protection? If

Re: Is it possible to protect python source code by compiling it to .pyc or .pyo?

2014-01-16 Thread Steven D'Aprano
On Thu, 16 Jan 2014 16:58:48 -0800, Sam wrote: > I would like to protect my python source code. It need not be foolproof > as long as it adds inconvenience to pirates. What makes you think that "pirates" will be the least bit interested in your code? No offence intended, I&#

Re: Is it possible to protect python source code by compiling it to .pyc or .pyo?

2014-01-16 Thread Ethan Furman
On 01/16/2014 05:09 PM, Chris Angelico wrote: On Fri, Jan 17, 2014 at 11:58 AM, Sam wrote: I would like to protect my python source code. It need not be foolproof as long as it adds inconvenience to pirates. Is it possible to protect python source code by compiling it to .pyc or .pyo? Does

Re: Is it possible to protect python source code by compiling it to .pyc or .pyo?

2014-01-16 Thread Chris Angelico
On Fri, Jan 17, 2014 at 11:58 AM, Sam wrote: > I would like to protect my python source code. It need not be foolproof as > long as it adds inconvenience to pirates. > > Is it possible to protect python source code by compiling it to .pyc or .pyo? > Does .pyo offer better pro

Re: Is it possible to protect python source code by compiling it to .pyc or .pyo?

2014-01-16 Thread Ben Finney
Sam writes: > I would like to protect my python source code. Protect it from what? If there's some specific activity you want to prevent or restrict, please say what it is, since “protect” is a rather loaded term. > It need not be foolproof as long as it adds inconvenience to pirate

Re: Is it possible to protect python source code by compiling it to .pyc or .pyo?

2014-01-16 Thread Ned Batchelder
On 1/16/14 7:58 PM, Sam wrote: I would like to protect my python source code. It need not be foolproof as long as it adds inconvenience to pirates. Is it possible to protect python source code by compiling it to .pyc or .pyo? Does .pyo offer better protection? First, .pyc and .pyo are

Is it possible to protect python source code by compiling it to .pyc or .pyo?

2014-01-16 Thread Sam
I would like to protect my python source code. It need not be foolproof as long as it adds inconvenience to pirates. Is it possible to protect python source code by compiling it to .pyc or .pyo? Does .pyo offer better protection? -- https://mail.python.org/mailman/listinfo/python-list

Re: Python source to C++ and/or Java

2013-03-07 Thread Peter Otten
Jabba Laci wrote: > As a university project, I would like to work on an automated > converter that transforms a Python source code to C++ or Java (not yet > decided but I would vote on Java since it seems less complicated). > Do you know if it's already done? What other similar

Re: Python source to C++ and/or Java

2013-03-07 Thread Alec Taylor
at 2:19 AM, Jabba Laci wrote: > Hi, > > As a university project, I would like to work on an automated > converter that transforms a Python source code to C++ or Java (not yet > decided but I would vote on Java since it seems less complicated). > Do you know if it's alre

Python source to C++ and/or Java

2013-03-07 Thread Jabba Laci
Hi, As a university project, I would like to work on an automated converter that transforms a Python source code to C++ or Java (not yet decided but I would vote on Java since it seems less complicated). Do you know if it's already done? What other similar projects are you aware of? And

Re: Python source code easy to hack?

2012-09-28 Thread 88888 Dihedral
Jayden於 2012年9月28日星期五UTC+8下午7時57分14秒寫道: > Dear All, > > > > I have a concern in developing commercial code with Python. Someone told me > that its program can be easily hacked to get its source code. Is it really > the case? Any way to protect your source code? > > > > Thanks a lot! > > >

Re: Python source code easy to hack?

2012-09-28 Thread Littlefield, Tyler
On 9/28/2012 9:19 AM, stu...@molden.no wrote: kl. 16:38:10 UTC+2 fredag 28. september 2012 skrev Jerry Hill følgende: This is true, but both java and .net are also relatively easy to decompile. Neither of them are very "obfuscated". In general though, why does it matter? Paranoia among man

Re: Python source code easy to hack?

2012-09-28 Thread sturla
kl. 16:38:10 UTC+2 fredag 28. september 2012 skrev Jerry Hill følgende: > This is true, but both java and .net are also relatively easy to decompile. Neither of them are very "obfuscated". > In general though, why does it matter? Paranoia among managers? > What are you trying to protect y

Re: Python source code easy to hack?

2012-09-28 Thread Jerry Hill
On Fri, Sep 28, 2012 at 10:18 AM, wrote: > Python bytecode is not easier to hack than Java or .NET bytecodes. This is true, but both java and .net are also relatively easy to decompile. In general though, why does it matter? What are you trying to protect yourself against? If you're including

Re: Python source code easy to hack?

2012-09-28 Thread sturla
kl. 13:57:14 UTC+2 fredag 28. september 2012 skrev Jayden følgende: > Dear All, I have a concern in developing commercial code with Python. Someone > told me that its program can be easily hacked to get its source code. Is it > really the case? Any way to protect your source code? Thanks a lot! J

Re: Python source code easy to hack?

2012-09-28 Thread zig-zag
On 09/28/2012 02:17 PM, Mark Lawrence wrote: On 28/09/2012 12:57, Jayden wrote: Dear All, I have a concern in developing commercial code with Python. Someone told me that its program can be easily hacked to get its source code. Is it really the case? Any way to protect your source code? Thanks

Re: Python source code easy to hack?

2012-09-28 Thread Mark Lawrence
On 28/09/2012 12:57, Jayden wrote: Dear All, I have a concern in developing commercial code with Python. Someone told me that its program can be easily hacked to get its source code. Is it really the case? Any way to protect your source code? Thanks a lot! Jayden This question has been as

Re: Why is python source code not available on github?

2012-06-24 Thread Stefan Krah
Peter Otten <__pete...@web.de> wrote: > gmspro wrote: > > Why is python source code not available on github? Why should every free software project be available on a single proprietary platform? Also, see: http://arstechnica.com/business/2012/03/hacker-commandeers-github-to-pro

Re: Why is python source code not available on github?

2012-06-24 Thread Peter Otten
gmspro wrote: > Why is python source code not available on github? > > Make it available on github so that we can git clone and work on source > code. http://thread.gmane.org/gmane.comp.python.devel/121885/focus=122111 -- http://mail.python.org/mailman/listinfo/python-list

Re: Why is python source code not available on github?

2012-06-24 Thread Stefan Behnel
gmspro, 24.06.2012 02:16: > Why is python source code not available on github? > > Make it available on github so that we can git clone and work on source code. github != git. You can use git to work on the sources if you wish. Just install a Mercurial plugin for it and clone the code

Re: Why is python source code not available on github?

2012-06-23 Thread Chris Angelico
On Sun, Jun 24, 2012 at 10:34 AM, gmspro wrote: > > No, > I can download as .tar.bz2, but i'm talking about using git. > git clone, git add ., git commit -a, git push is easier to keep track of > my code. Then for git pull request. Mercurial can do all that. I'm not as familiar with it as I am wi

Re: Why is python source code not available on github?

2012-06-23 Thread gmspro
No, I can download as .tar.bz2, but i'm talking about using git. git clone, git add ., git commit -a, git push is easier to keep track of my code. Then for git pull request. --- On Sat, 6/23/12, George Silva wrote: From: George Silva Subject: Re: Why is python source code not availab

Re: Why is python source code not available on github?

2012-06-23 Thread Chris Angelico
On Sun, Jun 24, 2012 at 10:16 AM, gmspro wrote: > > Why is python source code not available on github? > > Make it available on github so that we can git clone and work on source > code. It's done with Mercurial, not git, but the same can be done: hg clone http://hg.python

Re: Why is python source code not available on github?

2012-06-23 Thread Andrew Berg
On 6/23/2012 7:16 PM, gmspro wrote: > Why is python source code not available on github? If you mean CPython, it's because the devs use Mercurial and have their own hosting on python.org. hg clone http://hg.python.org/cpython http://docs.python.org/devguide/setup.html github is far from

Re: Why is python source code not available on github?

2012-06-23 Thread George Silva
http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2 On Sat, Jun 23, 2012 at 9:16 PM, gmspro wrote: > Why is python source code not available on github? > > Make it available on github so that we can git clone and work on source > code. > > -- > http://mail.python

Why is python source code not available on github?

2012-06-23 Thread gmspro
Why is python source code not available on github? Make it available on github so that we can git clone and work on source code. -- http://mail.python.org/mailman/listinfo/python-list

  1   2   3   >