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

ארבל אזולאי, please verify you are human by clicking the button below. You have 90 seconds.

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

Python

What is the best way to use FFmpeg with Python? Normally, when trying to use video editing, I need to install 'ffmpeg'. Is there a better way to avoid external dependencies on the OS's application? Does anyone have any ideas for a self-contained Python solution?

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

Python

Basically, Python calls dunder methods behind the scenes when you use operators. You can use add() directly, but __add__() is what connects your custom objects to the + operator.

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

Python

I think I understand alr

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

Python

https://realpython.com/python-magic-methods/

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

Python

https://runestone.academy/ns/books/published/pythonds/index.html

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

Python

Hey guys, I always thought calling the dunder method is to call the name eg, a._ _add_ _(b), but surprisingly , I can also call with a '+'. What else can be called differently?🤔❤and problems I met is when I'm not creating a dunder method in a class, using the built-in method of add can cause error

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

Python

Hello everyone,👋
I am required to join the army for two years.Unfortunately, during this period, I will only have access to a computer and the internet once every two months.Do you have any suggestions on how I can keep up with the world of programming during these two years?

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

Python

wrong group
please delete you message

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

Python

can someone guide me to the cyber security road map 📍

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

Python

I agree that selecting the right framework depends largely on the application's complexity, functionality, and scalability requirements.

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

Python

Nevaeh Tanner, please verify you are human by clicking the button below. You have 90 seconds.

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

Python

Hi everyone, I am learning python in youtube. I learned some of the basics. But I don't know whether it is enough. And now i'm learning tkinter. Is that ok to make gui based apps?

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

Python

Since you have joined the python, it means you are interested in python, I recommend that you start with python basics

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

Python

This message has been reported to the administrators.

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

Python

https://github.com/kkroening/ffmpeg-python

There are things you don't want to do in Python only. If you are worried about cross-compatibility, use containers. With those bindings to ffmpeg.

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

Python

You can find more dunder methods here
https://docs.python.org/3/library/operator.html


Of course you can use
foo.add(bar)
or
Spam.add(foo, bar)

But dunder methods allow to use it as foo + bar

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

Python

1. The links answer that both.
2. You can and if it reads better, you should. A plus operator is not as expressive as a method name.

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

Python

basically asking two things:
1.Besides _ _add_ _() being invoked through the + operator, what other dunder methods can be triggered implicitly through Python operators or built-in functions?
2.Why can't I simply use something like add() directly outside a class without defining my own dunder method? Am I misunderstanding how Python's built-in operators and methods work?

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

Python

https://docs.python.org/3/reference/datamodel.html#special-method-names

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

Python

Sorry, what's the question?

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

Python

Don't worry bro nothing will change like u think just small things only

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

Python

/channel/Python/2253643

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

Python

This is not a Python specific question, please delete your offtopic message, move to @PythonOfftopic and ask there.

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

Python

What are you talking about?

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

Python

This group is not for mentoring or teaching one-on-one. Here we can try to help you if you have an error in the python code you wrote and you tried everything to solve it, but couldn't succeed.

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

Python

It can be enough, depending on complexity of the app
If you are planning to make games, look for the pygame library or it's alternatives

If you need more robust gui with many typical elements (buttons, labels, icons, etc)
You can stick with tkinter or try out GTK / QT

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

Python

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

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

Python

https://apps.apple.com/ca/app/purposly-use-apps-on-purpose/id6793565122

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

Python

have you read the rules?

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