thedevs_python | Unsorted

Telegram-канал thedevs_python - Python

4134

Part of @thedevs General Rules: @rulesforthedevs Only related to group topic (Python + Python Frameworks) Other @thedevs groups: https://thedevs.network

Subscribe to a channel

Python

Chatgpt gave the code so asking

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

Python

Errors are made to be read

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

Python

i mean do we still need context mangers to be used with 'with' statement?

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

Python

with operator is manage context by himself

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

Python

i think it is nepotism
cause it kinda meets the definition of nepotism

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

Python

i agree these Referrals do skip the interview and resume sending for me, they straightly put me in the place i must be

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

Python

Because you're getting them from your network I guessed it was through family and friends :'3

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

Python

Lumi, seriously? :0
Ain't that kinda nepotism??

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

Python

I mean website design projects and projects in software-related fields.

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

Python

except this one, its the first time hearing about it

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

Python

Well it's likely you use it manually then

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

Python

The short answer is that it's syntax sugar for state machines

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

Python

When you need a function that returns control to the caller without the function itself completing its execution, yet

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

Python

When you create generators

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

Python

Anyone got django 4 pdf ?

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

Python

Why would you want to manage resources manually, anyways?

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

Python

answer = await app.ask(
chat_id, text="Send me your Api key: ", parse_mode=enums.ParseMode.MARKDOWN
)

in pyrogram i am using this module

from pyroaddon import listen

but its not working for python 3.14 because of updated asyncio any alternative for this?

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

Python

Elaborate. Do you mean to ask if something other than a context manager can be used with the "with" statement, too?

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

Python

Do we still need to use context managers while using 'with' statement?

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

Python

i was second year when nfts were still around

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

Python

Wait, aren't you just in 2nd year??

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

Python

its not nepotism, its "Referral"

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

Python

i usally take my projects from my own network, they simply call me for it


(note i dont use linkedin)

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

Python

You likely could have used a generator for those

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

Python

Do you ever make classes that just have methods like next() or step() or iter() or tick() or something like that?

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

Python

yup, personally i never use it,

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

Python

heres a example:

def never_ending_loop(a:List[int])->Generator[int,None,int]:
while True:
i:int
for i in a:
yield i

if __name__ == "__main__":
i:int
for i in never_ending_loop([1,2,3]):
print(i)

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

Python

you have a function that does not end with return statement
the function simply runs after yileding (returning) the value

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

Python

When to use yield in python

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

Python

I solemny swear I'm up to no good

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