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
For example:
class Foo:
A = lambda self, x: x
def B(self x):
return x
Foo().A and Foo().B, Foo.A and Foo.B for that matter
Читать полностью…
Technical question:
Is there a difference between a method of a class and a class atribute that is also callable?
Can you explain me that why updating a program is bad idea?
Then how windows or anti virus like kasper update theirs program?
Yes. Any high-level protocols like HTTP, FTP, WebSockets that use the TCP protocol preserve the order of transmitted data frames.
Читать полностью…
It is a good assumption, though I do not know if they do some kind of multuplexing or not.
Читать полностью…
Are you sure? I read the opposite. Response I mean the message, whatever you want to call it
Читать полностью…
If your response object have incremental property say (obj_id) then you can just order the responses based on that property
Читать полностью…
Please don't ask meta questions like:
- Any user of $x here?
- Anyone used technology $y?
- Hello, I need help on $z!
Just ask about your problem directly! If you don't know what to ask, please read: http://catb.org/~esr/faqs/smart-questions.html
Hello everyone, I hope you're all doing well. I'm currently learning digital image processing using Python, and I'd like to deepen my knowledge through YouTube. Can anyone recommend good YouTube channels for learning digital image processing with Python?
Читать полностью…
⚠️ Doragonsureiyā warned P [6284054666].
1/3: Link to a blacklisted domain
This warning expires on 2025-04-18
Can you guys please suggest some mini projects using web dev, python,c and dbms sql
Читать полностью…
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://dpaste.org, https://hastebin.com, https://bin.kv2.dev or your favorite one!
Читать полностью…
Actually no, they all stop the service and rerun it again
And they mostly update their virus signitures more then the code itself
You could use eval or exec but for that you really should take good care not to run anything user-supplied and only validated code
But in any case, what is so bad at pulling changes, stop then rerun you code
It takes half of second to do that
No so simple. Http2 does multiplexing itself while being on top of TCP. So you may have multiple concurrent requests which be processed/delivered out of order
Читать полностью…
I've googled a bit, it seems like websockets preserve order of messages
Читать полностью…
So regardless if it's async or not I get order guaranteed? Nice
I'm also just going to push to a little list and crash the program if it's out of order just as a double check
WebSockets is using TCP protocol, which transmit data in order that is part of the TCP implementation.
Читать полностью…
It has a unix ms timestamp but that's it. There is no increasing identifier from the json I'm looking at. Websockets don't correct for missing data or keep order no? So I could get out of order data
Читать полностью…
Afaik, data is always in order. You receive messages one after another. But there is no concept of "response", they are not responding on anything, they are just messages
Читать полностью…
Have a stupid question, how do i ensure async websocket data i am fetching keeps its order? I know there is an asyncio.Queue but that keeps order between coroutines
I need for a single coroutine, to preserve its order. So if a lag spike happens, and im missing a websocket response, i dont continue till its there
https://github.com/Anshulp21/DJNAGO-Sociamedia
Hello, is anyone available to help me? I'm having trouble converting my data into CSV format. My Celery Beat scheduled task isn't working. Can someone assist me with this issue? I'm not sure if my messages are being sent properly. Please help with this project.
Who has an example of sudoku with backtraking using the simpleai library.
Читать полностью…
Adding the word Python to your off-topic question doesn't magically turn it to a Python related question, so please delete your message here and move to the @PythonOfftopic group and ask there.
Check out @PythonRes, a channel for Python resources - video courses, pdf books, tutorials and other info to help you learn Python.
Читать полностью…
Hi guys, I am doing a python game project group project that should be challenging and creative. I can’t use any non built-in functions like numpy or pygame. Any recommendations?
Читать полностью…
Please don't ask meta questions like:
- Any user of $x here?
- Anyone used technology $y?
- Hello, I need help on $z!
Just ask about your problem directly! If you don't know what to ask, please read: http://catb.org/~esr/faqs/smart-questions.html