python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Concurrent is not working properly with beautifulsoup, not fetching all the links
In this code I want to extract content from a newspaper link using beautifulsoup. But it is not working properly, each link in the list "filtered_Final_LIST" has links which has multiple art...
graj499
Votes: 0
Answers: 1
how to call concurrent.futures.ProcessPoolExecutor map with different functions
I have something like this:
class Animal:
def eat(food):
raise NotImplementedError
class Duck(Animal):
def eat(food):
# do something
class Pig(Animal):
def eat(food):
...
abisko
Votes: 0
Answers: 1
concurrent.futures does not throw exception when using try except
When using concurrent.futures.ThreadPoolExecutor() it doesn't throw an exception for try except.
For eg:
num = [1,2,3,4,5]
def div():
for i in num:
return i/0
print('Done')
try:
d...
Samsun
Votes: 0
Answers: 1
Using built in methods in executor.map
I am making a tkinter GUI to ping IPs or multiple Ips at the same time. I have use concurrent futures library to achieve concurrency but after using executor.map() I am unable to use the built in met...
Kasheef Ali
Votes: 0
Answers: 0