Re: Error in PIP install packages

2020-06-08 Thread Souvik Dutta
Can you paste the complete error message that you got on running pip? Souvik flutter dev On Mon, Jun 8, 2020, 10:10 PM Devendra Dhond wrote: > R/sir, > > > > I am facing too much errors during pip installing. > > Deserialization error > > And much more in red errors. > > Pip upgrading error > >

Re: Do I need setters/getters in python?

2020-06-08 Thread Terry Reedy
On 6/8/2020 4:10 PM, zljubi...@gmail.com wrote: Consider this code: class SetGet: _x = 1 @property def x(self): return self._x @x.setter def x(self, value): self._x = value class Dynamic: x = 1 if __name__ == '__main__': a = SetGet()

Do I need setters/getters in python?

2020-06-08 Thread zljubisic
Consider this code: class SetGet: _x = 1 @property def x(self): return self._x @x.setter def x(self, value): self._x = value class Dynamic: x = 1 if __name__ == '__main__': a = SetGet() print(f'x = {a.x}') a.x = 2 print(f'x = {a.x}'

Re: Can I have a class with property named "from"

2020-06-08 Thread zljubisic
Well the problem that I am facing with is, that I have to establish interface between python and outer system. Original question was about creation of input object (data that I have received from outer system). If I accept recommendation to use "from_" instead of "from", it could work, for proc

Installation Problems

2020-06-08 Thread purelyconstructive .
Hello, I'm sorry if this isn't the correct email to send this to, but I am new to Python and I am having a very hard time getting it installed correctly no matter what version I try. My computer specs are: Toshiba Satellite C55t-B Laptop Intel Celeron CPU N2830 @ 2.16GHz 4 GB RAM 64-bit Windows

Error in PIP install packages

2020-06-08 Thread Devendra Dhond
R/sir, I am facing too much errors during pip installing. Deserialization error And much more in red errors. Pip upgrading error Please help me out.. I want to uninstall complete python all pip and freshly download python and install various packages. Suggest me which version I need