Re: Windows Gui Frontend

2023-04-01 Thread Michael Torrie
On 4/1/23 15:33, Thomas Passin wrote:
> OTOH, Qt isn't free for commercial use and the OP seems to be 
> speculating on coming up with a product to sell at some point.

Careful. That's not actually true, even though the marketing team at Qt
lets people believe it is.  Qt is licensed under the LGPL, which you can
definitely use in a proprietary, close-source app, provided you use the
dynamically-linked version (which PySide does of course) and do not
modify it.

Qt's commerical licensing is very hostile to small companies, I can say
that much.  It's too bad really.  But the LGPL will work for most
companies, except for those that might wish to use the embedded version,
such as in cars where being able to abide by the terms of the LGPL
becomes difficult.


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Alan Gauld
On 01/04/2023 18:21, Jim Schwartz wrote:
> Are there any ide’s that will let me design the screen and convert it to 
> python?  

There is nothing remotely like the VB or Delphi GUI builders.
There are some tools somewhat similar to the Java Swing and
FX GUI builders with varying degrees of bugginess.

And there are a few bespoke GUI type tools such as Dabo for
building specific types of applications.

But most Python GUI developers seem to prefer to just hard
code the Python, once you get used to it there's not much
time saving with the GUI tools.

The real time consuming stuff in building GUIs is getting
the basic design right and keeping all the controls,
keyboard bindings and menus in sync. State management
in other words.

I did a deep dive examination of GUI builders back around
v2.6 and came away less than enthused. Things may have
improved since then but I've seen no real evidence of
that.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Grant Edwards
On 2023-04-01, Thomas Passin  wrote:

> Having worked with both, I'd rather use PyQt, although Tk might be 
> easier to get a toy app going with.  Both editing windows and packing 
> are easier for me to understand with PyQt, for one thing.

With tk it is _very_ easy to get small apps going. As the apps get
larger and more complex, I find it easier to use wxPython or pyGTK
(never tried pyQt).  However, if you want to package that small app
using cxfreeze (or whatever) tk tends to produce pretty large bundles
compared to others.

--
Grant


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Thomas Passin

On 4/1/2023 5:11 PM, Barry Scott wrote:




On 1 Apr 2023, at 18:47, Igor Korot  wrote:

I suggest going with wxPython/wxGlade.


I ported all my wxPython code to PyQt and have not regretted it.

wxPython was (its been a while so may not be an issue now) far to
hard to make consistent across OS, my apps run on Linux, macOS and Windows.
I found that PyQt was easier to get working.

Barry



Having worked with both, I'd rather use PyQt, although Tk might be 
easier to get a toy app going with.  Both editing windows and packing 
are easier for me to understand with PyQt, for one thing.


OTOH, Qt isn't free for commercial use and the OP seems to be 
speculating on coming up with a product to sell at some point.


--
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Barry Scott



> On 1 Apr 2023, at 18:47, Igor Korot  wrote:
> 
> I suggest going with wxPython/wxGlade.

I ported all my wxPython code to PyQt and have not regretted it.

wxPython was (its been a while so may not be an issue now) far to
hard to make consistent across OS, my apps run on Linux, macOS and Windows.
I found that PyQt was easier to get working.

Barry

-- 
https://mail.python.org/mailman/listinfo/python-list


RE: [Python-Dev] Small lament...

2023-04-01 Thread Jim Schwartz
Yea, it is funny.  I commented on it.

-Original Message-
From: Python-list  On
Behalf Of Eryk Sun
Sent: Saturday, April 1, 2023 2:23 PM
To: Skip Montanaro 
Cc: Python ; python-dev Dev 
Subject: Re: [Python-Dev] Small lament...

On 4/1/23, Skip Montanaro  wrote:
> Just wanted to throw this out there... I lament the loss of waking up 
> on April 1st to see a creative April Fool's Day joke on one or both of 
> these lists, often from our FLUFL... Maybe such frivolity still 
> happens, just not in the Python ecosystem?

I thought this one was funny:

https://github.com/python/cpython/issues/103172
--
https://mail.python.org/mailman/listinfo/python-list

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Egon Frerich

tkinter is part of python

e.

Am 01.04.23 um 13:59 schrieb Jim Schwartz:

I have another question.  I have an app written in python, but I want to add
a windows GUI front end to it.  Can this be done in python?  What packages
would allow me to do that?

  


Thanks.


--
https://mail.python.org/mailman/listinfo/python-list


Re: [Python-Dev] Small lament...

2023-04-01 Thread Eryk Sun
On 4/1/23, Skip Montanaro  wrote:
> Just wanted to throw this out there... I lament the loss of waking up on
> April 1st to see a creative April Fool's Day joke on one or both of these
> lists, often from our FLUFL... Maybe such frivolity still happens, just not
> in the Python ecosystem?

I thought this one was funny:

https://github.com/python/cpython/issues/103172
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Mats Wichmann

On 4/1/23 11:34, Eryk Sun wrote:

On 4/1/23, Jim Schwartz  wrote:

Are there any ide’s that will let me design the screen and convert it to
python?  I doubt it because it was mentioned that this is time consuming.

Thanks for the responses everyone. I appreciate it.


For Qt, the WYSIWYG UI editor is Qt Designer. The basics are covered
in the following PySide tutorial:

https://www.pythonguis.com/pyside2-tutorial


Also here is a decent tutorial:

https://realpython.com/qt-designer-python/


--
https://mail.python.org/mailman/listinfo/python-list


Re: [Python-Dev] Small lament...

2023-04-01 Thread Eric Fahlgren
Oh, man, it has been a while.  The last one I remember is PEP 404 (if you
can find it :) ), dated 2011 and it wasn't an April Fool's...

On Sat, Apr 1, 2023 at 11:23 AM Skip Montanaro 
wrote:

> Just wanted to throw this out there... I lament the loss of waking up on
> April 1st to see a creative April Fool's Day joke on one or both of these
> lists, often from our FLUFL... Maybe such frivolity still happens, just not in
> the Python ecosystem? I know you can still import "this" or
> "antigravity", but those are now old (both introduced before 2010). When
> was the last time a clever easter egg was introduced or an April Fool's Day
> joke played?
>
> ¯\_(ツ)_/¯
>
> Skip
>
> ___
> Python-Dev mailing list -- python-...@python.org
> To unsubscribe send an email to python-dev-le...@python.org
> https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-...@python.org/message/Q62W2Q6R6XMX57WK2CUGEENHMT3C3REF/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Dietmar Schwertberger

On 01.04.2023 19:30, Igor Korot wrote:
Look at wxGlade (a project designed for wxWidgets). You will design 
you layout and then just save it as a py file.


wxGlade also includes a tutorial to get you started with wxPython 
itself. You should be able create basic GUIs within a few hours.
See https://discuss.wxpython.org/ for support on wxPython and the 
wxGlade mailing list.


Regards,

Dietmar

--
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Igor Korot
Hi, Thomas,

On Sat, Apr 1, 2023 at 12:40 PM Thomas Passin  wrote:
>
> On 4/1/2023 1:28 PM, Thomas Passin wrote:
> > On 4/1/2023 1:21 PM, Jim Schwartz wrote:
> >> Are there any ide’s that will let me design the screen and convert it
> >> to python?  I doubt it because it was mentioned that this is time
> >> consuming.
> >
> > Depends on what you mean by "let me design the screen", but Pyside
> > (which I think is now called Pyside2) may be suitable.  It is part the
> > Qt framework.
>
> I should have added that in my experience, the screen layout of controls
> is not the hardest and most time-consuming part of developing GUIs.  The
> hard part is getting the screen elements and other components to do what
> you want in the way that you want it.
>
> For example, the Tk.Text class can be used as a fairly full-featured
> editor, but try figuring out how to highlight part of the text - not so
> obvious.  Or say you decide you want to have a button flash when
> clicked, but you don't like the standard flash effect and want to change
> it.  Those are a few of the kinds of things that you have to deal with
> and that soak up the time.  It's not usually screen design.

I suggest going with wxPython/wxGlade.

Thank you.

>
> >>
> >> Sent from my iPhone
> >>
> >>> On Apr 1, 2023, at 10:37 AM, Eryk Sun  wrote:
> >>>
> >>> On 4/1/23, Jim Schwartz  wrote:
>  I have another question.  I have an app written in python, but I
>  want to
>  add a windows GUI front end to it.  Can this be done in python?  What
>  packages would allow me to do that?
> >>>
> >>> Here are a few of the GUI toolkit libraries in common use:
> >>>
> >>> * tkinter (Tk)
> >>> * PyQt (Qt)
> >>> * PySide (Qt)
> >>> * wxPython (wxWidgets)
> >>> * PyGObject (GTK)
> >>>
> >>> tkinter is included in Python's standard library.
> >>
> >
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Thomas Passin

On 4/1/2023 1:28 PM, Thomas Passin wrote:

On 4/1/2023 1:21 PM, Jim Schwartz wrote:
Are there any ide’s that will let me design the screen and convert it 
to python?  I doubt it because it was mentioned that this is time 
consuming.


Depends on what you mean by "let me design the screen", but Pyside 
(which I think is now called Pyside2) may be suitable.  It is part the 
Qt framework.


I should have added that in my experience, the screen layout of controls 
is not the hardest and most time-consuming part of developing GUIs.  The 
hard part is getting the screen elements and other components to do what 
you want in the way that you want it.


For example, the Tk.Text class can be used as a fairly full-featured 
editor, but try figuring out how to highlight part of the text - not so 
obvious.  Or say you decide you want to have a button flash when 
clicked, but you don't like the standard flash effect and want to change 
it.  Those are a few of the kinds of things that you have to deal with 
and that soak up the time.  It's not usually screen design.




Sent from my iPhone


On Apr 1, 2023, at 10:37 AM, Eryk Sun  wrote:

On 4/1/23, Jim Schwartz  wrote:
I have another question.  I have an app written in python, but I 
want to

add a windows GUI front end to it.  Can this be done in python?  What
packages would allow me to do that?


Here are a few of the GUI toolkit libraries in common use:

    * tkinter (Tk)
    * PyQt (Qt)
    * PySide (Qt)
    * wxPython (wxWidgets)
    * PyGObject (GTK)

tkinter is included in Python's standard library.






--
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Eryk Sun
On 4/1/23, Jim Schwartz  wrote:
> Are there any ide’s that will let me design the screen and convert it to
> python?  I doubt it because it was mentioned that this is time consuming.
>
> Thanks for the responses everyone. I appreciate it.

For Qt, the WYSIWYG UI editor is Qt Designer. The basics are covered
in the following PySide tutorial:

https://www.pythonguis.com/pyside2-tutorial
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Igor Korot
Hi,

On Sat, Apr 1, 2023 at 12:24 PM Jim Schwartz  wrote:
>
> Are there any ide’s that will let me design the screen and convert it to 
> python?  I doubt it because it was mentioned that this is time consuming.

Look at wxGlade (a project designed for wxWidgets).
You will design you layout and then just save it as a py file.

No conversion needed.
And it's pretty straightforward. And very easy.
You can do it in 5 min or less..

Thank you.

I'm sure other libraries mentioned have their own RAD tool.

>
> Thanks for the responses everyone. I appreciate it.
>
> Sent from my iPhone
>
> > On Apr 1, 2023, at 10:37 AM, Eryk Sun  wrote:
> >
> > On 4/1/23, Jim Schwartz  wrote:
> >> I have another question.  I have an app written in python, but I want to
> >> add a windows GUI front end to it.  Can this be done in python?  What
> >> packages would allow me to do that?
> >
> > Here are a few of the GUI toolkit libraries in common use:
> >
> >* tkinter (Tk)
> >* PyQt (Qt)
> >* PySide (Qt)
> >* wxPython (wxWidgets)
> >* PyGObject (GTK)
> >
> > tkinter is included in Python's standard library.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Thomas Passin

On 4/1/2023 1:21 PM, Jim Schwartz wrote:

Are there any ide’s that will let me design the screen and convert it to 
python?  I doubt it because it was mentioned that this is time consuming.


Depends on what you mean by "let me design the screen", but Pyside 
(which I think is now called Pyside2) may be suitable.  It is part the 
Qt framework.




Thanks for the responses everyone. I appreciate it.

Sent from my iPhone


On Apr 1, 2023, at 10:37 AM, Eryk Sun  wrote:

On 4/1/23, Jim Schwartz  wrote:

I have another question.  I have an app written in python, but I want to
add a windows GUI front end to it.  Can this be done in python?  What
packages would allow me to do that?


Here are a few of the GUI toolkit libraries in common use:

* tkinter (Tk)
* PyQt (Qt)
* PySide (Qt)
* wxPython (wxWidgets)
* PyGObject (GTK)

tkinter is included in Python's standard library.




--
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Jim Schwartz
Are there any ide’s that will let me design the screen and convert it to 
python?  I doubt it because it was mentioned that this is time consuming. 

Thanks for the responses everyone. I appreciate it. 

Sent from my iPhone

> On Apr 1, 2023, at 10:37 AM, Eryk Sun  wrote:
> 
> On 4/1/23, Jim Schwartz  wrote:
>> I have another question.  I have an app written in python, but I want to
>> add a windows GUI front end to it.  Can this be done in python?  What
>> packages would allow me to do that?
> 
> Here are a few of the GUI toolkit libraries in common use:
> 
>* tkinter (Tk)
>* PyQt (Qt)
>* PySide (Qt)
>* wxPython (wxWidgets)
>* PyGObject (GTK)
> 
> tkinter is included in Python's standard library.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Eryk Sun
On 4/1/23, Jim Schwartz  wrote:
> I have another question.  I have an app written in python, but I want to
> add a windows GUI front end to it.  Can this be done in python?  What
> packages would allow me to do that?

Here are a few of the GUI toolkit libraries in common use:

* tkinter (Tk)
* PyQt (Qt)
* PySide (Qt)
* wxPython (wxWidgets)
* PyGObject (GTK)

tkinter is included in Python's standard library.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Thomas Passin

On 4/1/2023 7:59 AM, Jim Schwartz wrote:

I have another question.  I have an app written in python, but I want to add
a windows GUI front end to it.  Can this be done in python?  What packages
would allow me to do that?


WxWindows, Tk, and PyQt are some of the common ones. Be aware that GUI 
programming can soak up a lot of your time, so be prepared.


If you want it to work on Linux as well (always a good idea), you will 
need to pay attention to file locations, paths, and path separators as well.


--
https://mail.python.org/mailman/listinfo/python-list


Re: Python not showing correct version

2023-04-01 Thread Eryk Sun
On 4/1/23, Barry Scott  wrote:
>
> I find user environment on windows to be less flexible to work with then
> adding a py.ini. On my Windows 11 I added
> %userprofile%\AppData\Local\py.ini.
> To make python 3.8 the default that py.exe uses put this in py.ini:
>
> [defaults]
> python=3.8-64
> python3=3.8-64

Using "py.ini" has the advantage that launcher always reads the file.
The value of the environment variables, on the other hand, may be
stale. If you keep a lot of shells running, it would be tedious to
have to manually update the PY_PYTHON* variables in each shell. That
said, it should be rare that one needs to change the persisted default
versions. For temporary changes, the PY_PYTHON* environment variables
are more flexible and take precedence over "py.ini".

If one doesn't use "py.ini" to set the defaults, it's easy to modify
the persisted user environment using "setx.exe"[^1]. For example:

setx.exe PY_PYTHON 3.8
setx.exe PY_PYTHON3 3.8

setx.exe broadcasts a WM_SETTINGCHANGE "Environment" window message,
which causes Explorer to update its environment. Thus any program run
from Explorer will see the new values. A program launched in a new tab
in Windows Terminal also gets a fresh environment. However, existing
CLI shells (CMD, PowerShell, bash), and programs started by them, will
still have the old environment values. The latter is where using
"py.ini" to set the defaults has the advantage.

---

[^1]: Note that "setx.exe" should never be used to set the persisted
user or machine "Path" value to the current %PATH%. When loading the
environment, the user "Path" gets appended to the machine "Path".
Setting the entire expanded and concatenated value to one or the other
leads to a bloated, redundant PATH value, and it also loses the
flexible configuration based on REG_EXPAND_SZ values.
-- 
https://mail.python.org/mailman/listinfo/python-list


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 I pick. I’m not selling it now so it doesn’t matter. I have 
to do a lot more work before I get to that point


You can dual-license it - one license for free uses, one for commercial 
users.  But read GitHub's terms of service to make sure your repo is 
going to continue to qualify - you might need to start paying them if 
your code goes commercial.


--
https://mail.python.org/mailman/listinfo/python-list


Windows Gui Frontend

2023-04-01 Thread Jim Schwartz
I have another question.  I have an app written in python, but I want to add
a windows GUI front end to it.  Can this be done in python?  What packages
would allow me to do that?

 

Thanks.

-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] Shed Skin 0.9.7 - native Windows support!

2023-04-01 Thread Mark Dufour
Hi all,

I have just released version 0.9.7 of Shed Skin, a restricted-Python-to-C++
compiler. The highlight of this release is the migration to CMake (and
Conan), to enable native Windows support.

For more information about the release:

http://blogfarts.blogspot.com/2023/04/shed-skin-restricted-python-to-c.html

Project homepage:

http://github.com/shedskin/shedskin


Cheers,
Mark.
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


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 about which license I pick. I’m not selling it now so it doesn’t 
> matter. I have to do a lot more work before I get to that point
>

When you put license terms on something, that is a *legal statement*.
Read the license you're applying and don't just pick for the sake of
picking. By applying this license, you are granting legal permission
for anyone to redistribute your code in source or object form.

On the plus side, you've just made all questions of obfuscating your
source code completely irrelevant :)

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Ole version set as default

2023-04-01 Thread Sibylle Koczian

Am 29.03.2023 um 18:46 schrieb Pranav Bhardwaj:

Dear sir,
I am Pranav Bhardwaj and I stuck in a problem. My problem is
that in my system I have python 3.11.2 but when I type python in my command
prompt, my command prompt show that python version 2.7.13 as a default. And
I can't be able to find python 2.7.13 in my system in any file and I tried
various methods to set python 3.11.2 as a default but can't be able to do
so. I tried to change environment variables, try to find and delete python
2.7.13 , try to set python 3.11.2 as default, but I can't be able to do so.
So can you help me how can I solve this problem?


Which OS is this? And what happens if you enter "python3" in your 
command prompt?


HTH
Sibylle

--
https://mail.python.org/mailman/listinfo/python-list


Re: Python not showing correct version

2023-04-01 Thread Barry Scott



> On 31 Mar 2023, at 22:02, Eryk Sun  wrote:
> 
> 
> The OP installed the standard Python 3.8 distribution, which does
> install the launcher by default. The launcher can run all installed
> versions, including store app installations. By default it runs the
> highest available version, which will probably be the 3.10 store app
> in the OP's case. To make 3.8 the default without having to remove
> 3.10, set the environment variables "PY_PYTHON=3.8" and
> "PY_PYTHON3=3.8" in the user environment.

I find user environment on windows to be less flexible to work with then
adding a py.ini. On my Windows 11 I added %userprofile%\AppData\Local\py.ini.
To make python 3.8 the default that py.exe uses put this in py.ini:

[defaults]
python=3.8-64
python3=3.8-64

Barry


> -- 
> https://mail.python.org/mailman/listinfo/python-list
> 

-- 
https://mail.python.org/mailman/listinfo/python-list


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’t matter. I have 
to do a lot more work before I get to that point  

Sent from my iPhone

> On Mar 31, 2023, at 6:52 PM, Chris Angelico  wrote:
> 
> 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 a lawyer or not, and
> whether you identify copyright and license or not - will stop people
> from copying your code. NOTHING will stop people from copying your
> code if they have access to it. All you can do is discourage them.
> 
> So that brings us back to the original question: Why protect your
> *source code* specifically? There are two extremes available to
> everyone:
> 
> 1) Distribute the source code. Let everyone see it. Stick a license on
> it that permits them to use it, modify it, distribute modified
> versions. Set your code free and let it be used.
> 
> 2) Don't distribute the program *at all*. Don't distribute the source
> OR the binary. Instead, permit people to *access* the program - which,
> in today's world, usually means a web service.
> 
> Both of these are very popular and work well. I don't have access to
> the Gmail source code but I'm using the service. I don't have access
> to the Twitch.tv source code but I'm using the service. Meanwhile, I
> have Python programs running on a Debian system using the Linux
> kernel, invoked using bash, served from an ext4 mass storage device,
> etc, etc. I have the binary code for all of these, and I'm legally
> guaranteed access to the source if I want it, so there's no incentive
> to steal it.
> 
> The middle ground of "distribute binaries but stop people from
> accessing the source" is a much narrower use-case, and I would say
> that it's not actually a single use-case but a family of them, each
> with different needs and requirements. So it's essential to know what
> you're actually trying to protect, and why.
> 
> ChrisA
> -- 
> https://mail.python.org/mailman/listinfo/python-list

-- 
https://mail.python.org/mailman/listinfo/python-list


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 runs
> it every time you use the service (and probably while you aren't using
> the service, too).

Yes, and I'm talking about their back end source code, which I most
definitely do NOT have access to, and therefore cannot copy.

> My educated guess is that Google expended some
> effort to hinder you from looking at and/or analyzing (or do you say
> analysing?) that code, and that their lawyers will come knocking at your
> metaphorical door if they so much as think you are using that code in
> some way other than running it inside your web browser.  If only this
> situation were a cruel April Fool's Day joke.

They haven't done very much, I happen to know this relating to other
services. From what I can tell, Google's front ends aren't very well
protected, for the simple reason that they're quite useless without
the corresponding back ends.

> You don't have access to Gmail's back end source code.
>
> Many/Most web apps follow this pattern to varying degrees.  I do not
> know whether this setup meets the OP's requirements.

Exactly. That's why I pointed it out. This is the only way to truly
protect your source code: Don't give it out.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list