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

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?

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

Python

Nah I'm a uni student just looking for help with algorithms Q

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

Python

Hi
Can I find someone good at algorithms?

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

Python

Its actually not really with python, just trying to find somebody that might have gone through the issues with their api.. I cant find a riot_client_secret api and maybe someone here has through the same issue?

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

Python

Thanks for the suggestion

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

Python

Reading a book is my recommendation. Because it really guides you. Yes, it has more content, but that content is used for taking the time to explain things. And it does not mean that you cannot try to resolve understanding issues elsewhere, if that book doesn't work for you for that part. But generally it presents a concept, which is what you either don't get at all or which you only get in a limited sense when using other resources. Courses are quicker but they cover less ground. Tutorials can be quite comprehensive, but you may not need to know everything about a certain topic when starting to learn Python. Or they are too brief and leave out important information.

If the focus is on "getting started quickly" then that means that there's less focus and time spent on "understanding what you do". One might actually get you started quicker, but very quickly after that, you might need to get an answer to questions that weren't even raised, which the book likely would have covered.

So, not only feel free but encouraged to use other resources in addition to a books, but as a replacement, be warned that the "well rounded experience", not the fast one, mostly comes from books. At least that's my humble opinion.

That said, maybe try realpython.com.

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

Python

https://pythonbooks.org/free-books/

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

Python

Hello I am uzma from bangalore, India, I am a BCA graduate but I have not worked in IT. Now I want to learn Python and become software developer, will you plz guide me that from where to start learning.

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

Python

What exactly do you need help with?

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

Python

I think it would have been better to guide her.

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

Python

I only see a list of what you fixed for her.

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

Python

What did Uzma learn?

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

Python

It had like 6 issues: question and questions were mixed up, the loop used the wrong variable, the question list structure was off, the wrong answer logic was in the wrong place, the print string was missing an f, and the option labels were messed up (b instead of d).

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

Python

Sorting algo and Graph

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

Python

whats the best youtube channel for learning python ?

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

Python

Hi can you specify the algorithm area

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

Python

Are you hiring or what

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

Python

python -m pip install pygame

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

Python

What issues are you having using it with Python ?

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

Python

Has anyone here worked with Riot api? (Approved project by them)

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

Python

Except reading books, what other sources are there

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

Python

It is, the name of the group is AI.

Written by GenericLLM.

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

Python

This group is not about how to use AI. Please remove this message.

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

Python

Guys anyone Like to create Tools or Beginner i want help

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

Python

What do you mean? Shouldn't anyone be helped?

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

Python

I explained her problems to her

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

Python

OK. I got it. Thank you so much

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

Python

questions = [
["which language was used to create fb?", "python", "French", "JavaScript", "php", 4]
]

levels = [1000]
money = 0

for i in range(len(questions)):
question = questions[i]

print(f"\nQuestion for Rs. {levels[i]}")
print(f"1. {question[1]} 2. {question[2]}")
print(f"3. {question[3]} 4. {question[4]}")

reply = int(input("Enter your answer (1-4): "))

if reply == question[-1]:
print(f"Correct answer! You have won Rs. {levels[i]}")
money = levels[i]
else:
print("Wrong answer!")
break

print(f"Your take home money is {money}")

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