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

Nothing weird works fine for me

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

Python

That link looks pretty long—any chance you could put it on a pastebin or something simpler to look at? Curious about what's happening with the EOF issue.

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

Python

I'll send a link to the code that is giving me issues

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

Python

Can't find a way around it

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

Python

Python 3.8 I can read the data from stdin I get the interactive prompt but then the script exits

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

Python

When I pipe data into a python script it exits interactive mode any way around this. Hope this is the proper forum for this question I've never asked

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

Python

Follow solid principles, they help a lot in big projects

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

Python

Is NLP tutorial available

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

Python

I’m working on a complex Python project and trying to design it for high performance and modularity.
How would you handle dynamic dependency injection, asynchronous data pipelines, and custom error propagation in a large-scale application while keeping it maintainable and testable ?

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

Python

The approach depends on the type of application. But it helps to think in units that are responsible for the data retrieval and storage, logic and representation.

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

Python

Like the framework suggests. If you don't use a framework, then pretend like you're writing one.

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

Python

As soon as I can, I'll read everything carefully. Now i have to run 👍🏻😅

@Inchidi @c0x6a @notfromcambrigde @razorblade23 thx for the help ❤️❤️

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

Python

You have not scratched the surface yet 😁

Try making your custom one... (decorator i mean)
It should be more familiar once you realize how it works internally

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

Python

Pure functions are easy to test. They have an input and an output and no side-effects.

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

Python

Yeah, me personally use them almost never

But it can be useful when you want to add a method to some class it semanticly belongs to, but does not need any class/instance data to execute

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

Python

This is a new tool from github the storage is in the url

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

Python

https://textarea.my/#VZFNasQwDEb3OsVXupgE2kxLN6XQA8xuruDEykTg2MZSJg308CU_pXRlIz09fcb0-HCetJxbiee82JDiG56FZMypGJL-3nRR6ksakZ0NQVoc9auzgaRHTBvTqHmJjagzW6r6g5C9M_f51yrsfJDIWtWEXCRadbpgdoosmT1OT4FjtU3VNdFOJG1ubN3sq7o-SqvRldu9JrJBFF3yjFlCQJkinIK_MnfGHr6kjJEh0RLcenBxncmdoQOHQDSkme9cID0uWwys6_eBTX6BGzGpxBt6iR5n9oJvtE6lW_kmL0QbpMywgY_HbJp2MVa0k0HGkb04C8tuXJOtWJoMqf-XbEyeD-W-97p9Dt6a9-b1BUT0Aw==

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

Python

Rule 5️⃣: To share code or error tracebacks, use an online pasting service like:
- https://dpaste.org
- https://hastebin.com
- https://bin.kv2.dev
If you posted a wall of text, go back and delete it.

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

Python

I think the pipe is sending an EOF

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

Python

You can use python to automate stuff
Pentesting is a whole category for itself and not really related to python - and we do not help in hacking or scams here...

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

Python

What is the best course python for pentesting??

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

Python

Let me google that for you: https://realpython.com/nltk-nlp-python/

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

Python

Do you have any specific issues?

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

Python

Thanks for explaining!
By the way, I’m TAAAT

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

Python

Thanks! 👌
Could you give a quick example of how you implement it in a real project?
I’m curious about the practical structure 🐍🛠️

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

Python

When building a large Python project, how do you structure your modules and packages for maximum maintainability 🐍🛠️?

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

Python

if you watch closely on my example above has_liver() actually not using cls which means it should/could be staticmethod instead. from here you might realize what OOP is as a paradigm.

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

Python

That said, a staticmethod does not need to be a pure function.

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

Python

Like a function that you need inside the instance which performs an operation but does not need a reference to the instance. A pure function.

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

Python

decorators are a new world for me... wow

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