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
i mean, do you want or need your code in parallel or serial?
Читать полностью…
By what you have described, I cannot know. But I don't need to know. My point is, you should know before you make a change. If you make changes based on assumption, that's not so good.
Читать полностью…
yaa, i am doing sending a network request in one fun, another fun do open playwright and do take screenshot of the page, so it is slow down, so i want ot use async and do both together thats why i found i must need to use asyncio, is nto this i got wrong or not?
Читать полностью…
you can use any you want, its kinda well explained in the docs, gather and TaskGroups have their uses.
With gather you can control the exceptions better than TaskGroup if cancellation is something that bothers you.
This is not a Python specific question, please delete your offtopic message, move to @PythonOfftopic and ask there.
Читать полностью…
import static_ffmpegfrom pydub import AudioSegment# Automatically finds and sets up static binaries inside your virtualenv 🔧static_ffmpeg.add_paths()# Now pydub works with zero system-level ffmpeg installation! 🎉audio = AudioSegment.from_file("input.m4a", format="m4a")audio.export("output.mp3", format="mp3", bitrate="192k")
See this is a demo python code, i found for this code to use i don't need to have install ffmpeg in my system on startup of this app run it will download the ffmpeg binary inside my .venv folder and I found this is working.
And see is this really ok to use this in real development and hosting?
i found this setup not need ffmpeg in my system. But it works.
So i want to know what is i should to do?
i am asking this because i also listen in production we should not use like this ffmpeg in .venv
Sometimes, the work I do doesn't align with my interests. I want to enjoy my work and know exactly what it is I want to enjoy about it. Unfortunately, I don't know how to leverage what I have to build a resume. I’d like to become an entrepreneur, but I don’t even know where to start.
Читать полностью…
Same problem
I don't know what to do btw and I shifted alot
Maybe it'd be good to take something people are already using and build a version that does something better or more tailored
Читать полностью…
Hey, I’m studying CS and honestly I have no idea what I want to do with it lol.
I tried an SEO internship but realized pretty quickly that I’m not really into it. I know some C++ and Python, and I think programming and AI are probably more my thing, but I don’t really know where to go from here.
Like, how do you actually figure out what you’re interested in? Should I just start building random projects and see what sticks? Or is there something I should learn first?
Would love to hear how you guys figured this stuff out.
FastAPI popularity comes from implementing modern features like async or type hints and patterns like dependency injection.
You can choose any of these, it depends on if you can build an architecture yourself taking decisions on which ORM and how to implement it (then choose FastAPI or flask) or need a strong forward implemention where these decisions are already made by someone else (then choose Django)
Well I haven't done that but that's what I would do:
- search for the official sdk/API/library of SharePoint
- read it's documentation on how to get files and count them
- search what's a cronjob and see how you can run that code daily
- make your code save the result on a db so you can consult it at anytime
Hello, everyone.
I am looking for a business partner to generate profits together.
I am a full-stack developer with 7 years of experience.
I will pay 20% of my income.
The requirements are as follows:
- Have a computer
- No specific skills required
- be 19+ years
- North America, South America, Europe, and Southeast Asia
I believe this isn't python specific.
Uni isn't that bad unless you are relying on them to teach you real skills.
You meet amazing people there, it's good for networking, and the certificate is nice to have. Other than that, you are going to be really disappointed.
Yes i am confsued what what i will do , but the confusion part is i am using python-telegram-bot, there i must need to use async code.
so you say i will use normal
await fun1
await fun2
like this not the asyncio.taskGroup, .create_task i should not looks to think for now ?
I'm not convinced that your issue was synchronous code just yet. The thing with "synchronous" code is that it doesn't always mean sequential. There are still threads and processes. And depending on which one's you've used, it might have been just fine.
Читать полностью…
I was some days researching about improve my PYthon code to speed up, so i choosed the async code, there it say, even i normally use,
await fun_name()
await 2nd_fun_name() in a async function, still the 2nd fun start after the first one is finish, is this correct thinking of me?
Another thigns they say i need to use the,
asyncio.create_taask(function_name, args,)
asyncio.create_task(2nd_fun_name, args, ...)
and now my both function will start here at same time not depends on the first fun to finish, is this right or not?
and now they say to use asyncio.TaskGroup !!!
I got confused in the part what should i use in reality 2nd option i think better ???
any sugession 🙏
The industry is changing fast. I’m a full-stack Python developer, and the demand is shifting toward Generative AI and Agentic AI. Maybe that’s an area worth exploring.
Читать полностью…
Mathematics and algorithm between something
I like something that I learned until now
I think I love psychology, within the confines of the "why" behind the functioning of the human brain.I would like to expand on the relationship between artificial intelligence and computers and the human brain.
Building Random projects sucks. I think listening and browsing for the successful projects and understand the ideal idea and the framework they used to implement that. Practical Learning is always the right one to accelerate the drive for real-world Career
Читать полностью…
Python groups in other languages
(⚠️Not managed by us ‼️)
Arabic @arabipython
Azerbaijani @azepug
Chinese @pythonzh
French @python_francais
German @pythonde
Hebrew @pythonisrael
Tamil @pythontamilcommunity
Indonesian @pythonid
Italian @python_ita @pythonita
Kazakh @python_kz
Malaysia @pythonmalaysia
Persian @pyfarsi
Portuguese @pythonbr
Russian @ru_python_beginners @ru_python @python_scripts
Spanish @PythonEsp
Swahili @python_eafrica
Turkish @python_tr
Uzbek @python_uz
If you have an active and well managed group that you want to be listed there, ask in the Meta group, link in the rules page.
When I tried to do web development in Python, I noticed that nowadays everyone is switching to FastAPI. Why is this? Why are people choosing FastAPI over Flask or Django? I am new to this; what should I choose?
Читать полностью…
Anyone know how to automate to check the count of files everyday to the SharePoint folders with python?
Читать полностью…
Use sleeping to appear human and avoid IP block problems
Читать полностью…
Bryan Melendez, please verify you are human by clicking the button below. You have 90 seconds.
Читать полностью…
That’s why I dropped out of Uni. Paying all this money for garbage education when you can learn everything on the internet. I recommend Udemy courses
Читать полностью…