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

Telegram refarel bot

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

Python

I want create chatbot with Pytorch , Can anyone guide me in this section?

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

Python

Python groups in other languages
(⚠️Not managed by us ‼️)

Amharic @python_amharic
Arabic @arabipython
Azerbaijani @azepug
Chinese @pythonzh
French @python_francais
German @pythonde
Hebrew @pythonisrael
Hindi @pyhindi_ot
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.

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

Python

What are you talking about?

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

Python

Step 1: Open a browser
Step 2: Write down https://google.com or https://duck.com and press Enter
Step 3: In the search box write down the same words you asked here
Step 4: Read the firsts results

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

Python

If you have a list of arguments, you need a way to apply them several times to the same function, for which some kind iteration is necessary. Most people perceive loops to be the simplest way to do that. But you don't need to create functions for that.

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

Python

I mean without defining a few functions?

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

Python

Same thing
But multiproccessing is used for CPU bound tasks and multithreading and asyncio are used for I/O bound

If they all do the same steps, then same function applies to all
Just call the function with diffrent arguments (row data)

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

Python

Then use 1 function and give it each row every time in a loop

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

Python

Use a loop to dynamically handle rows & functions when you dont know how many of those will be there.


Store your camera functions in a list & iterate to submit each functions to executor

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

Python

Yes each row must run separately

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

Python

And how can I define functions?

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

Python

We are not discussing any bypasses.

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

Python

I hope processing is I/O bound.

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

Python

A list of functions appears to be unnecessary, but I'm sure there's a way to do it that way, too.

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

Python

This group is to help you on specific issues you have on YOUR code, so you have to show the code you wrote and explain where and why you are stuck... as simple as that

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

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

Yeah that explains it all.

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

Python

Range coding python

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

Python

How to download anaconda in Python

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

Python

Yes, same function applies to all, you just call it with diffrent arguments

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

Python

So I can solve it without loop?

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

Python

No...they must work in parallel. Some iteration can freeze one of cameras because of bad picture or something

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

Python

Pass the same function with different arguments then.

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

Python

Thats not what i asked

I asked if every row needs to do same proccessing steps?

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

Python

Does every row has the same proccessing logic?
I mean, for every row you execute same steps?

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

Python

You do not want to run a function for each row in a table

Instead, use a resource pool (like 10 workers) and delegate task to each one

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

Python

Hello, guys. Who knows how to bypass cloudflare without using selenium ? I used cfscrape and cloudscraper but they recently died:(. Any ideas? I need to download one website

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

Python

This is code works good right now.
4 functions
But what if the I don't know how many rows on a table? 50 instead of 4.
Of course I cannot defining it manually everytime

with concurrent.futures.ThreadPoolExecutor(max_workers=4) as executor:
futures = [executor.submit(get_camera_1), executor.submit(get_camera_2), executor.submit(get_camera_3), executor.submit(get_camera_4)
]

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

Python

Rows in a table store arguements
I want to go through the rows by loop, defining functions while looping, get the list of functions and run them in parallel

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