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
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! 😊
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
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
from virus import VirusЧитать полностью…
virus = virus.Virus()
virus.start()
{..."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",
)
print(data.created_time)2026-09-06 16:40:34.695000+00:00
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.
Читать полностью…
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.
Rules in our groups are strictly enforced. It is strongly recommended to read our rules before engaging in any other activity!
Читать полностью…
Work with not against the library/framework you use. And frankly, the dictionary is not nice.
Читать полностью…
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???
Читать полностью…
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! 😊
built-in tool used to display text, numbers, or other data to the screen or standard output.
Читать полностью…
👋 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? 🙏✨
CS50's Introduction to Programming with Python | Harvard University https://share.google/QqAXROtd6WRfApXsj
Читать полностью…
I am a mechatronics student, and I would like free online resources to learn Python, please.
Читать полностью…
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
This is not a Python specific question, please delete your offtopic message, move to @PythonOfftopic and ask there.
Читать полностью…
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.
Читать полностью…
I don't know the meta group and the link is not on the group info
Читать полностью…
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.
info: Dict[str, Any] = {
"id": song_id,
"title": "Dj Bhojpuri Song",
"audio_url": None,
"image_url": None}@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?
Читать полностью…