I'm trying to login to www.pactpub.com
using the following idea
def setUp(self):
self.driver = webdriver.Chrome(executable_path='C:\_workspace\projects\Packtpub\chromedriver')
self.driver.get("https://www.packtpub.com")
time.sl...
I'm having a problem with an application that uses 3G and is slow to keep the user waiting.
Does anyone know any library that I can send information to the server and release the user?
The information is a batch with 100 sets of numbers th...
When using the
python generator video.mp4 2 150 80 10 thumbnails.jpg
I have the following return
Extracting 734 frames
[####################################] 100%
Frames extracted.
Traceback (most recent call last):
File "generator",...
I'm starting to learn scrapy and created the following function:
import scrapy
class ModelSpider(scrapy.Spider):
name = "model"
start_urls = [
'http://www.icarros.com/'
]
def parse(self, response):
with open('brands....
I'm trying to set up a progress bar to tell the percentage of running my Python script with varying different functions, but without success how would I create such a progress bar?
resultado_limpo = ((busca.find_all(string=re.compile(r'\d{2}\/\d{2}\/\d{4}\n\t\t\t\t\t\t\t\t'))))
I'm trying to fetch dates in dd / mm / yyyy format
I need to search with only year 2016 and have how I put the month in the variable case
inside...
I have the list:
lista = ['', 'a', 'b', 'c', ' ', '', '', ' ']
And I'm trying to remove the blank items: [''] or [' '] soon I have the following code:
if(ret_b == [' ']):
ret_b.clear()
My question is: Can I do this in...
In a given method of my Controller created in Asp Net MVC , I learned that I could put the [HttpGet] statement.
In other cases, like in my models, I realized that you can also put [Length(10)] and still other things....