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
Hey, what is your favourite python library from the stdlib?
Читать полностью…
So i never remember what something does and requires
Читать полностью…
That’s smart, I do the same to keep my projects straight, especially when juggling multiple things!
Читать полностью…
i use them really a lot to remember always on what i'm working in that moment
Читать полностью…
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
Exactly, type annotations are for variables, not the actual values inside dicts.
Читать полностью…
yeah yeah i used it now... if i understood right, u can't write type annotations directly inside the dictionary maps
Читать полностью…
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}
Am creating a system security program for my house its all i want
Читать полностью…
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
I need help in creating scripts in system management
Читать полностью…
Rules in our groups are strictly enforced. It is strongly recommended to read our rules before engaging in any other activity!
Читать полностью…
Hey, if you ever wanna dive into calligraphy, I’ve got some tips that might make it fun and less intimidating—plus, I love swapping creative ideas, especially with cool folks like you!
Читать полностью…
How much korrupt workers of o2 poland i have to Report to make the concern bankrott
Читать полностью…
I use them especially because i have really short memory
Читать полностью…
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.
Читать полностью…
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
Читать полностью…
Exactly, type annotations are meant for variables, not for the actual values inside data structures
Читать полностью…
technically that doesn't make sense, and you'll never need it
Читать полностью…
because typings meant to be applied to variables, not values
Читать полностью…
add typing to the dict object instead, eg; d: Dict[str, int] where d = {'foo':1, 'bar': 44}
Impossible to help without details.
Read this please:
http://www.catb.org/~esr/faqs/smart-questions.html
"Hi", "hello" and all other socializing goes to @pythonofftopic! Feel free to chat there, and ask for help with Python code here. Don't forget to delete your message from this group!
Читать полностью…
Calligraphy’s such a cool art, totally worth trying out! If you ever want tips or just wanna chat about creative stuff, I’m around. It’s fun to explore new hobbies, even if just for the vibe.
Читать полностью…
Sounds good, hit me up if you want to exchange ideas or just chat about stuff.
Читать полностью…