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
ארבל אזולאי, please verify you are human by clicking the button below. You have 90 seconds.
Читать полностью…
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?
Читать полностью…
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.
https://runestone.academy/ns/books/published/pythonds/index.html
Читать полностью…
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
Читать полностью…
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?
can someone guide me to the cyber security road map 📍
Читать полностью…
I agree that selecting the right framework depends largely on the application's complexity, functionality, and scalability requirements.
Читать полностью…
Nevaeh Tanner, please verify you are human by clicking the button below. You have 90 seconds.
Читать полностью…
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?
Читать полностью…
Since you have joined the python, it means you are interested in python, I recommend that you start with python basics
Читать полностью…
This message has been reported to the administrators.
Читать полностью…
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.
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
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.
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?
https://docs.python.org/3/reference/datamodel.html#special-method-names
Читать полностью…
Don't worry bro nothing will change like u think just small things only
Читать полностью…
This is not a Python specific question, please delete your offtopic message, move to @PythonOfftopic and ask there.
Читать полностью…
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.
Читать полностью…
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
Check out @PythonRes, a channel for Python resources - video courses, pdf books, tutorials and other info to help you learn Python.
Читать полностью…
https://apps.apple.com/ca/app/purposly-use-apps-on-purpose/id6793565122
Читать полностью…