python | Unsorted

Telegram-канал python - Python

135201

You will be muted until you read the rules. Read them! @Rules_for_Python A group about the Python programming language. Offtopic things go here: @pythonofftopic Resources to learn python: @pythonres Group for Hy: @hylang Selenium: @SeleniumPython

Subscribe to a channel

Python

best platform focused for solving problems including logic tasks and python programming challenges.

Читать полностью…

Python

Pyton is NOT updating sometimes 💔

Читать полностью…

Python

https://wiki.python.org/moin/BeginnersGuide/NonProgrammers

Читать полностью…

Python

Hey All.., I want to learn python programming. Can anyone suggest me what's the best way to learn from beginner level.

Читать полностью…

Python

Ok, but sometimes I didn't even think about the logic...So what would u suggest for that except practice, because that's what will do for sure...

Читать полностью…

Python

Hey admin can u kindly tell me how to master a programming language for example python??
I mean I am trying from basic by writing codes on my own...But still I am lagging in file I/O and recursion...

Читать полностью…

Python

Until you understood it. Ideally.

Читать полностью…

Python

help me learn python advanced

Читать полностью…

Python

But you can validate it before you read it. That said, you could use monkey patching to replace the whole object, not only an attribute of an object, so the whole journey appears unnecessary.

Читать полностью…

Python

It looks the resulting code will be unnecessarily complex.

Читать полностью…

Python

I want not to mistakenly insert something which may cause a bug. So even if I monkeypatch any field to change any value, the value will be verified before assigning. That's why I was wanting to use descriptor or property.

Читать полностью…

Python

It is something like an utility package for my other projects.

Читать полностью…

Python

but this will not work if user try to monkeypatch and change the value. I want to add checking there as well.

Читать полностью…

Python

or should I use something like a descriptor factory (a function which will create and return a descriptor) to prevent repeating myself?

Читать полностью…

Python

@PulsatingQuasar

Читать полностью…

Python

What are you talking about?

Читать полностью…

Python

Pick a resource, stick to it. Avoid youtube and tutorials.

Читать полностью…

Python

Check out @PythonRes, a channel for Python resources - video courses, pdf books, tutorials and other info to help you learn Python.

Читать полностью…

Python

Anything that challenges you but is still accomplishable.

Читать полностью…

Python

I have practiced a lot in basic programming...So should I solve challenger problems for evolving my thinking ability??

Читать полностью…

Python

In context with development, is it very much important?

Читать полностью…

Python

How much time should i give to OOPS, ideally ?

Читать полностью…

Python

This is not Java. You don't try to protect developers at all costs from shooting themselves in the foot.

Читать полностью…

Python

Oh, and to answer you question a bit more directly, neither with properties nor with descriptors you can prevent that the value will be changed without validation.

Читать полностью…

Python

There are quite a few things that I don't understand in your request. Most bind boggling is the intent to make it work correctly with monkey patching, although you don't want to do it. Second is that with monkey patching attribute values are changed (that means new values are assigned). There is no protection against that in Python, unless you put variables in a closure or use slots. But what's the point? You say you want to make sure the value is validated when changed in mysterious ways, which you, in most cases, cannot do. But you can do validation when you read the value. Still, it looks unnecessary. I don't see a reason to do it.

Читать полностью…

Python

So, you want to prevent yourself from being able to change the values after they have been validated?

Читать полностью…

Python

Wait, you want other developers to use that class?

Читать полностью…

Python

Or you use the initialization function of the class to validate and will have gotten away with using less magic.

Читать полностью…

Python

I am trying to create a data type which will have only 3 fields for storing exitcode, output_message, error_message. I want to validate value before assigning. Should I use property or descriptor in this case? Which one will be better?

Читать полностью…

Python

Python programming by Reema thareja,brother do you have any idea that is this good for beginners?

Читать полностью…
Subscribe to a channel