• Register

Recent questions tagged python-3

0 votes
1 answer 4 views
Why can't I perform arithmetic operations on a set. For example: {a+b} * c returns an error. When we try to do [a+b]*c, it returns a list. For instance: [4+5]*6 returns [9, 9, 9, 9, 9, 9]. But the same is not the result for the set. Why?
asked 5 days ago Marivoke 530 points
0 votes
1 answer 5 views
I require to remove all the special characters, puntuation and and speces from a string?
asked 6 days ago Daniel Anderson 2.1k points
0 votes
0 answers 3 views
I'm applying Laravel to write a service for mobile. I am trying to figure the solution. Can someone give me the hint?
asked 6 days ago Daniel Anderson 2.1k points
0 votes
1 answer 4 views
I am trying to figure out why this error showing in my case and searching several website didn't get the desired result. In this website can someone can someone show me correct way to solve this ValueError: Must pass DataFrame with boolean values only.
asked 6 days ago Daniel Anderson 2.1k points
1 vote
1 answer 6 views
I am trying to open an https URL using the urlopen method in Python 3's urllib.request module. It seems to work fine, but the documentation warns that "[i]f neither cafile nor capath is specified, an HTTPS request will not do any verification of the server’s ... get this list from? Is there any simple and cross-platform way to use the same list of certificates that my OS or browser uses?
asked 6 days ago Marivoke 530 points