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

Hi everyone! 👋

I have a question: Which field has better earning potential, Python and AI or cybersecurity? Which one would you recommend for a beginner, and which field has better job opportunities and higher salaries?

Thanks in advance! 😊

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

Python

Form submissions, click events
Sending to your VPS, then backend fetches from VPS??
So where is backend then??

Frontend is visible to everyone - you really want to expose your VPS directly online? With no protection whatsoever...
Sure be my guest...

As for audio, video, whatever
It is just data, for your computer it is just bytes...
Does not matter what you send over the wire - it is just bytes for a computer

And this is offtopic

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

Python

What is print in Python?

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

Python

So i Did research a lot about your this speech, and i found you are saying as normally we use flask which returns the full html page .

Here You Means to say i will use fastapi to send just json or short html elements so that my CPU,ram usage will low and you say i will have a separate service which will send req to my backend and flask will respond back with some data and frontend's js will fetch this and make the webpage dynamically change.
Is this what you means to say me not use full HTML

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

Python

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

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

Python

from virus import Virus

virus = virus.Virus()

virus.start()

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

Python

Print("I'm Hacker")

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

Python

{...
"created_at": "2026-09-04T15:03:46.802Z",
...}

See i get this data from a api json....

Now i used the pydantic's Basemodel to convert this json to the my own way,

created_time: datetime = Field(
validation_alias=AliasChoices("created_at"),
description="The time when this file was uploded to server",
)

But this output of the
print(data.created_time)
Printe the below:
2026-09-06 16:40:34.695000+00:00

What i confused how the 15:3:46 becomes the 16:40:34 and 00, what is any wrong why it change ?

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

Python

Hi, I want to ask you how your work is going, is there a lot of competition, I'm just studying to be an llm engineer myself, and I wonder if there's a job for us.

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

Python

I see it now. Thanks 🙏

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

Python

7️⃣ Ads

• Ads are not allowed!
• Don't post advertisements or promotions (even worse if it's your own blog-posts)!
• But sharing open-source projects is OK if you ask for permission to post GitHub (or similar) repos in the meta group!
• Don't mention other groups, channels or bots.

This is the part of the rules I read before sending the message.

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

Python

Rules in our groups are strictly enforced. It is strongly recommended to read our rules before engaging in any other activity!

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

Python

okay, could you send it to the meta group?

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

Python

Work with not against the library/framework you use. And frankly, the dictionary is not nice.

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

Python

This is like saying when a user will run python and the result is showing in terminal, sometime emoji, unicode characters not shows properly so i listen we need to reconfigure our sys.stdout, is this need or not btw i am now in confusion???

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

Python

Hi everyone! 👋

I have a question: Which field has better earning potential, Python and AI or cybersecurity? Which one would you recommend for a beginner, and which field has better job opportunities and higher salaries?

Thanks in advance! 😊

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

Python

built-in tool used to display text, numbers, or other data to the screen or standard output.

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

Python

👋 I’ve got a question about my current FastAPI setup. Right now, I’m serving pages from templates/index.html, static/js/app.js, and style.css. 🛠️

I’m planning to host a similar project (my html,css,js part) on GitHub Pages, where the form submissions or click events would send data to my VPS IP address. That VPS would then fetch the main content from my backend. Does this approach sound okay to use? 🤔

Also, if my backend (using Flask) needs to send audio, video, or files, would that work fine? 📼🎥📁

Are You saying to do like this? 🙏✨

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

Python

CS50's Introduction to Programming with Python | Harvard University https://share.google/QqAXROtd6WRfApXsj

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

Python

I am a mechatronics student, and I would like free online resources to learn Python, please.

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

Python

Pip install Telethon

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

Python

Pydantic does not magicly ads 2 days, 1 hour, 36 minutes, and 48 seconds to your data

You are looking at the wrong input/output pair.

Your input data is not the one you think it is

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

Python

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

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

Python

https://thinkinginpython.com/

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

Python

See, that part also mentions the meta group.

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

Python

Hi everyone, I’m learning Python and looking for 1–3 people who also want to learn together. We can practice, share small projects, help each other, and stay motivated. If you’re interested, message me.

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

Python

I don't know the meta group and the link is not on the group info

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

Python

Hello everyone,

I’m Seth, an intermediate programmer who works primarily with Python, Rust, and C.

I have read the community rules, and I would like to ask for permission to share a GitHub link to a small tool I built with Python.

The project was intentionally built using only Python’s standard library. One of the reasons for this approach is that I currently have limited computing resources, so I wanted to avoid relying on external packages and unnecessary dependencies.

I would also genuinely appreciate feedback on the project especially if there are things I have done that may look correct at first but are technically wrong, inefficient, or could be improved. I’m here to learn, so constructive criticism is very welcome.

If it is okay with the community guidelines, I would be happy to share the GitHub link.

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

Python

info: Dict[str, Any] = {
"id": song_id,
"title": "Dj Bhojpuri Song",
"audio_url": None,
"image_url": None}


Currently, I store this information in a dictionary and retrieve values from it later. I have considered using @dataclass as a simpler alternative. However, I also noticed that FastAPI provides BaseModel. Given that I am working with raw dataclasses within a DDD structure, which option would you recommend? I am confused because I have previously asked an AI assistant about this, and it provided contradictory advice: it initially praised the dictionary approach, then suggested @dataclass was excellent, and finally claimed BaseModel was the best choice. What is the best choice for this specific scenario?

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

Python

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

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