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

Almost always who asks for telegram bots doesn't know the programming languange he want to use

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

Python

Or we tell him to learn Python 🤷‍♂

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

Python

You can use the Telegram Bot API and read its documentation. You can also use the requests library to call the API directly. If you prefer not to work with raw requests, you can use frameworks like telebot or aiogram. Alternatively, if you want lower-level access, you can use MTProto via libraries such as Telethon or Pyrogram.

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

Python

Write code to compare these methods

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

Python

This is not a Python specific question, please delete your offtopic message, move to @PythonOfftopic and ask there.

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

Python

Depends on what you wanna do

Traing models -> deep/machine learning requires

If using models to build products -> then no need

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

Python

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

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

Python

looking for someone who can try n feedbck me

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

Python

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

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

Python

What tech stack you have used, i am genuinely curious

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

Python

yes, that's fine but it's not enforcable in config

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

Python

Yes, for quite some time now

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

Python

For those using uv, you can at least partially protect yourself against such attacks by adding this to your

pyproject.toml:

[tool.uv]
exclude-newer = "7 days
"
or this to your ~/.config/uv/uv.toml:

exclude-newer = "7 days
"
This will prevent uv picking up any package version released within the last 7 days, hopefully allowing enough time for the community to detect any malware and yank the package version before you install it.

From https://news.ycombinator.com/item?id=47547140

Here is the official uv docs
https://docs.astral.sh/uv/concepts/indexes/#configuring-exclude-newer-for-an-index

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

Python

Sorting algo and Graph

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

Python

whats the best youtube channel for learning python ?

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

Python

Maybe he is a learner so I answer him on the size of his question

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

Python

do u know that programming language?

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

Python

How can i make bots in python?

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

Python

I'm stuck on a topic to finish my thesis, and that is that the article code uses the mlp method, but I use the drl method. Now I want to bring the criteria to see which one has better performance or not and whether the accuracy of the work is higher than the article or not, because I have to show it to the referee, what should I do?

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

Python

"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!

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

Python

Friends, to work in the field of artificial intelligence, do we need to learn all the topics (Deep learning, machine learning, NLP, ...)? Or should we choose only one of them to enter the job market?

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

Python

What feedback do you need.

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

Python

"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!

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

Python

Merge, insertion, selection like these

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

Python

It is
As with all pip options, it does support env variables and global configs

https://pip.pypa.io/en/stable/topics/configuration/

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

Python

Seems pip also added a flag for this in v26.1 (2026-04-26)

Allow --uploaded-prior-to to accept a duration in days (e.g., P3D for 3 days ago)

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

Python

awesome, thanks. This may push me to using uv instead of pip. Do you use uv?

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

Python

We're looking for strategies to improve dependency security in our Python projects, specifically for pip and uv.

We're trying to implement an "age gate" similar to how npm has npmMinimalAgeGate – basically, preventing the installation of very new packages that might be risky.

The challenge: pip and uv don't seem to have a direct, built-in way to enforce this "minimum upload age" directly in their config. pip has --uploaded-prior-to, but it's a command-line flag, not a persistent config.

Seeking advice on:

Age Gates for Python: How do you prevent installing brand new, potentially untrusted packages with pip or uv?
Dependency Security Strategies: What are your best practices for managing and upgrading dependencies securely across Python projects?
Tools/Workarounds: Any tools, scripts, or clever config tricks for pip/uv that achieve a similar "age gate" effect?

Any tips or insights would be super helpful! Thanks! 🙏

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

Python

Corey Schafer got me thru the basics tbh. His vids are straight to the point no fluff. After that I'd say freeCodeCamp for project stuff.

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

Python

Wait, @Doragonsureiya_bot this bot is not written in python?

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