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

brainless gang, combine

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

Python

Or a brain will be fine at First

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

Python

Hey, same question applies to you.

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

Python

How much korrupt workers of o2 poland i have to Report to make the concern bankrott

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

Python

I use them especially because i have really short memory

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

Python

That’s smart, keeps things clear in your head. Do you find it helps catch errors early? If you want, I can share some tips on organizing your code better.

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

Python

Type annotations are more like a guide for the tools and us to understand what kind of data we're working with, rather than something the program enforces at runtime

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

Python

Exactly, type annotations are meant for variables, not for the actual values inside data structures

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

Python

technically that doesn't make sense, and you'll never need it

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

Python

because typings meant to be applied to variables, not values

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

Python

u can only like that

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

Python

add typing to the dict object instead, eg; d: Dict[str, int] where d = {'foo':1, 'bar': 44}

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

Python

That's all but specific.

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

Python

Impossible to help without details.
Read this please:
http://www.catb.org/~esr/faqs/smart-questions.html

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

Python

We only assist with specific issues.

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

Python

Thank you First time someone is on my pov

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

Python

looks like you need an offtopic group, please delete the off-topic message(s) and continue this conversation at @pythonofftopic

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

Python

Hey, what is your favourite python library from the stdlib?

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

Python

So i never remember what something does and requires

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

Python

That’s smart, I do the same to keep my projects straight, especially when juggling multiple things!

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

Python

i use them really a lot to remember always on what i'm working in that moment

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

Python

If you want to specify types for values, you'd typically use something like Dict[str, Union[int, Callable]], but it’s more about documentation and static analysis

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

Python

Exactly, type annotations are for variables, not the actual values inside dicts.

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

Python

and if i want to apply them to values?

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

Python

however thx for the help 👍🏻

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

Python

yeah yeah i used it now... if i understood right, u can't write type annotations directly inside the dictionary maps

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

Python

question:

if i want to use type annotations inside a dict which cantains a lambda function, what will be the sintax? i tried {key: type annotation: lambda args: value}

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

Python

Am creating a system security program for my house its all i want

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

Python

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

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

Python

I need help in creating scripts in system management

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