Questions tagged as 'python'

0
answers

I can not find the correct selector to scrape hidden table in chromedriver

I'm scraping the web link . In it, we have a list of nodes, each node being a row of the table, that is, a match. Within a node corresponding to any match, if you pass the mouse by the result you get a hidden table, and if you pass through t...
asked by 23.01.2018 / 14:27
1
answer

embed image to HTML with python

I am developing a small website with Python and Flask. I came across a small conflict, the web is for a developer event that will be in the company and has a section of registration and another of projects, where all the projects that we already...
asked by 01.02.2018 / 20:42
0
answers

Doubt with Graphical Interface in Python

Hello community, my question is simple, I would like to know if there is any way to make this interface in python. And if possible, how can I generate changes like this in the windows with python ... to be able to create custom styles....
asked by 29.01.2018 / 19:05
1
answer

Correct use "related_name" in Django

I surely have not formulated the question correctly, I explain what the problem is. I have in the model: models.py class Muro(models.Model): tema = models.ForeignKey(Tematica, on_delete=models.CASCADE, verbose_na...
asked by 22.01.2018 / 20:42
0
answers

How can I get the Facebook ID of someone with Python?

I am developing a small python code and I need to know how I can automate the process of going from the URL of a Facebook profile to your ID. For example, Sony's Facebook is " link " but the ID is "56232316996" ( link ) (via findmyfbid.com)....
asked by 22.01.2018 / 22:44
1
answer

How to convert a String type to Float or Int?

In Python, how can I convert a string "123.456" to a decimal number 123.456 ? And how a chain "32" to an integer 32 ?     
asked by 13.02.2017 / 13:40
0
answers

conflict between a 1D array and 2D equations system

I am a beginner in python and I have zero programming knowledge. I'm trying to solve this system of equations with odeint : def croissance(x,t): dx = [0,0] dx[0] = (gamma_ - alpha_ * beta_) * M - alpha_ * M * D dx[1] =...
asked by 24.01.2018 / 08:57
0
answers

Receive json in PHP Python and extract data

An api sends me a JSON, I receive it in PHP and sent it to Phayton to process it, the problem is to convert it to an object to extract the data, it gives error all the time It gives me these errors:    ERROR: (,   JSONDecodeError ('Expecting...
asked by 22.01.2018 / 15:43
2
answers

Extend the Django model

The problem I have not to extend Django's model is that I need to create more than one type of user in particular two Student and Teacher each with attributes in common but with others own of each one, someone could give me some idea or example....
asked by 23.01.2018 / 00:02
1
answer

How to position the text of a label on the left in tkinter

Hi, I'm learning about the python tkinter library and I decided to make a calculator. My program used an entry as a text field but that allowed the user to write in it, what I want is that only the buttons work and you can not write, so use a la...
asked by 23.01.2018 / 02:03