Questions tagged as 'python-2.7'

1
answer

Is there any way to skip a captcha on a scheduled task?

It has given me the doubt that if in python with selenium it could be skipped or avoided, a captcha. Those that validate if you are a robot or not. Before, these validations seemed foolish to me, since being a programmer, I find it inco...
asked by 03.01.2018 / 20:28
1
answer

Arguments python as a string

I'm stuck in a script. I try to expose you to see if you can help me. I define the following before entering the loop.    client, date, time, state, name, result, most_repeated = sys.argv [1] .split ()       timestamp = str (date) + '' +...
asked by 08.01.2018 / 15:51
1
answer

Variable within another Python variable

I need to know if there is a certain text within my variable content, for example: content = <!DOCTYPE html> <html> <head> <meta http-equiv="expires" content="mon, 27 sep 2018 14:30:00 GMT"> <title>Peri├│dico am...
asked by 27.12.2017 / 00:31
0
answers

How can I display the data of my mysql table in a TKinter List text in Python 2.7?

I am trying to develop a graphical interface for my MySQL database with Python 2.7 TKinter. I was checking the tkinter documentation as well as other sources but I can not get the records in my table to be displayed inside the list box instead o...
asked by 20.12.2017 / 21:50
0
answers

CSV with; Python

I have a problem with a CSV that is separated by ; and not by , as usual. I made my code a while ago and it works with CSV separated by , , and I want to convert it (the code) to values separated by ; or...
asked by 20.12.2017 / 16:06
1
answer

error in accepting unicode in django-python 2.7.1o

Good morning for everyone. The error that comes up is the following: At the moment I am trying to connect the database with django using mysql and the version of python 2.7.10 when using python manage.py and makemigrations in the end is as fo...
asked by 11.12.2017 / 15:05
2
answers

Get information about a div without id with BeautifulSoup Python

I need to find the code of this HTML: <div class="form-horizontal"> <br> <div class="control-group"> <div class="controls"> <!--...
asked by 28.11.2017 / 19:27
1
answer

How do I get the input information with beautifullsoup (PYTHON)?

I need to scrap a website, already log in and perform a search but the information comes out this way: and its html code is: <div class="controls"> <input id="sumaAsegurada_formatted" name="sumaAsegurada_formatted" size="17"...
asked by 22.11.2017 / 16:24
0
answers

How to get the value of an input in PYTHON?

Does anyone know how to get the value with a library? I'm trying to scraping an internet site and the information I need shows it but in an input and I do not know how to get it. Thanks for the help. one of the input: <div class="controls"&...
asked by 23.11.2017 / 15:54
0
answers

cURL (API) in Python

I'm accessing the URL API through cURL and I'm looking to do it through Python. I do not know if this can be done but it would solve my job a lot. The steps I'm taking are: I enter this code to my terminal and it returns me the answer: Cod...
asked by 08.11.2017 / 12:40