I just downloaded the 64-bit Windows installer. On my Windows 10
machine, both "py launcher" and "available for all
users" options were available. They were available whether I checked the
"administrative" box or not. Note that when I unchecked
"administrative", then the "available for all use
On 04/11/2022 04.20, Suresh Babu wrote:
I downloaded the latest version of python i.e. python 3.11.0 ( 64-bit)
in my laptop recently. But the " py launcher " and " available for all
users " option is not working in the customization menu of python 3.11.0 .
Kindly help me in solving this issu
https://www.oreilly.com/library/view/beginning-c-30/9780470261293/9780470261293_a_short_history_of_object-oriented_progr.html
--
https://mail.python.org/mailman/listinfo/python-list
A virtual event run by the Auckland Branch of the New Zealand Python
Users' Group. Details from the Meetup site:
https://www.meetup.com/nzpug-auckland/events/289531194/ where you may
also sign-up.
It's Week 4 of the Smart Iterator Challenge! We've looked at taking our
early results and gener
On 03/11/2022 18:29, Chris Angelico wrote:
> On Fri, 4 Nov 2022 at 05:21, Julieta Shem wrote:
>>
>> Chris Angelico writes:
>>
>>> On Thu, 3 Nov 2022 at 21:44, Alan Gauld wrote:
Also Python is not a purely OOP language, in that you can write
functional and procedural code in Python if y
On 11/3/22, darkst...@o2online.de wrote:
> Is there a reason, why it is not installed? Its the same check mark in the
> installer like IDLE…
Did you try what I suggested? Modify the installation to remove the
tkinter/IDLE component. Then modify it again to select the component
to be reinstalled.
r...@zedat.fu-berlin.de (Stefan Ram) writes:
> Julieta Shem writes:
>>I'll definitely look up the Liskov
>>substitution principle and try to understand it.
>
> I found the LSP to be very confusing:
>
> First, it's was hard for me to actually get a clear sou
r...@zedat.fu-berlin.de (Stefan Ram) writes:
> Julieta Shem writes:
[...]
> 2. a. 1. Remark
>
> One can observe this ease especially when one defines a new
> class with a standard verb and then standard procedures
> "magically" use this new method, as in:
>
> class MyNewClass:
> de
On Fri, 4 Nov 2022 at 05:48, Paulo da Silva
wrote:
>
> Às 05:32 de 03/11/22, Paulo da Silva escreveu:
> > Às 03:24 de 03/11/22, Paulo da Silva escreveu:
> >> Hi!
> >>
> >> And a typing problem again!!!
> >> ___
> >> class C:
> >> def __init__(self):
> >>
Às 07:55 de 03/11/22, dn escreveu:
On 03/11/2022 16.24, Paulo da Silva wrote:
class C:
def __init__(self):
self.__foos=5*[0]
@property
def foos(self) -> list[int]:
return self.__foos
@foos.setter
def foos(self,v: int):
self.__foos=[v for __i
Às 18:16 de 03/11/22, Chris Angelico escreveu:
On Fri, 4 Nov 2022 at 05:03, Paulo da Silva
wrote:
Changing def foos(self) -> list[int]: to
def foos(self) -> Union[list[int]]:
fixes the problem.
Not so elegant, however!
Wait, what?!
Union[X, Y] means "X or Y"
Union[X] means "X, but don't
Às 05:32 de 03/11/22, Paulo da Silva escreveu:
Às 03:24 de 03/11/22, Paulo da Silva escreveu:
Hi!
And a typing problem again!!!
___
class C:
def __init__(self):
self.__foos=5*[0]
@property
def foos(self) -> list[int]:
return
On Fri, 4 Nov 2022 at 05:21, Julieta Shem wrote:
>
> Chris Angelico writes:
>
> > On Thu, 3 Nov 2022 at 21:44, Alan Gauld wrote:
> >> Also Python is not a purely OOP language, in that you can write
> >> functional and procedural code in Python if you wish. In
> >> Smalltalk thats notionally impo
Chris Angelico writes:
> On Thu, 3 Nov 2022 at 21:44, Alan Gauld wrote:
>> Also Python is not a purely OOP language, in that you can write
>> functional and procedural code in Python if you wish. In
>> Smalltalk thats notionally impossible because everything
>> is an object. And all programming
On Fri, 4 Nov 2022 at 05:03, Paulo da Silva
wrote:
> Changing def foos(self) -> list[int]: to
> def foos(self) -> Union[list[int]]:
> fixes the problem.
> Not so elegant, however!
Wait, what?!
Union[X, Y] means "X or Y"
Union[X] means "X, but don't complain if it's a @property".
Is that how
Greg Ewing writes:
> On 3/11/22 1:37 pm, Julieta Shem wrote:
>> The code for computing the length of a Pair (which is really a linked
>> list) happens to be the same for computing the length of a Stack.
>
> I would question whether that should be a method of Pair at all,
> since it's not the leng
-- Forwarded message -
From: Suresh Babu
Date: Thu, 3 Nov 2022, 16:37
Subject: Issues in python 3.11.0 (64-bit) installation
To:
Sir/ Madam,
I downloaded the latest version of python i.e. python 3.11.0 ( 64-bit)
in my laptop recently. But the " py launcher " and " available
r...@zedat.fu-berlin.de (Stefan Ram) writes:
> Julieta Shem writes:
>>That's very interesting. Would you share the complete thread of e-mail?
>>I would love to read it word for word.
>
> Yes, with pleasure! A quotation from my corresponding web page:
>
> (For technical reasons, the web page
Às 03:24 de 03/11/22, Paulo da Silva escreveu:
Hi!
And a typing problem again!!!
___
class C:
def __init__(self):
self.__foos=5*[0]
@property
def foos(self) -> list[int]:
return self.__foos
@foos.setter
def foos(sel
On Thu, 3 Nov 2022 at 21:44, Alan Gauld wrote:
> Also Python is not a purely OOP language, in that you can write
> functional and procedural code in Python if you wish. In
> Smalltalk thats notionally impossible because everything
> is an object. And all programming statements are messages
> to ob
C++/Java class variables can be public, protected (accessible to class and
subclasses) or private (accessible only to class). Of course the language
protections can be hacked around.
Python does conceptual private variables by using the single underscore:
object._myvar is considered private
Fr
On 03/11/2022 00:25, Julieta Shem wrote:
>> |OOP to me means only messaging, local retention and protection and
>> |hiding of state-process, and extreme late-binding of all things.
>
> I'm wondering how Python fails to satisfy his definition.
Python doesn't do any form of data protection/hiding.
On 03/11/2022 04:24, Paulo da Silva wrote:
Hi!
And a typing problem again!!!
___
class C:
def __init__(self):
self.__foos=5*[0]
@property
def foos(self) -> list[int]:
return self.__foos
@foos.setter
def foos(self,v:
On 03/11/2022 16.24, Paulo da Silva wrote:
class C:
def __init__(self):
self.__foos=5*[0]
@property
def foos(self) -> list[int]:
return self.__foos
@foos.setter
def foos(self,v: int):
self.__foos=[v for __i in self.__foos]
c=C()
c.foos=5
prin
24 matches
Mail list logo