Questions tagged as 'python'

1
answer

Django show a List in a Template

I'm creating a program that pings a host, in a list I'm storing the results of the ping and I want to publish the result in my template but it does not show me anything and I do not know what I'm doing wrong, I hope you can help me the code i...
asked by 11.09.2018 / 07:25
0
answers

Error sending and saving image in Ionic and Flask

I am developing a project on Ionic I have a server mounted on Flask and I would like to be able to send images and treat them with this one. I am currently doing the following: uploadFile(img) { let postParams = { file: img }; this.http.se...
asked by 02.09.2018 / 15:09
0
answers

selenium IDE .side export to python

When using the selenium IDE, it exports me to .side. There is some way to use it in python. ? to test my website.     
asked by 02.09.2018 / 05:21
0
answers

package an application lighter

I'm doing a program in python and I want to package it in an .exe. For this I use the well-known "pyinstaller". It is not the first time that I use it. The problem is that now I want to package the project I'm working on and the final file we...
asked by 02.09.2018 / 04:43
0
answers

Geolocation in a dataframe

I have a data frame. with the columns cities, latitude and longitude the cities some have NaN others are complete. How can I do to fill in the columns of cities with longitude and latitude. example Mundo = { 'ciudades': ['Nan', 'Buenos...
asked by 30.08.2018 / 23:52
0
answers

Help with Data Clean DATAFRAME

I want to create a function that allows me to split a row / column where it has several words, and transport the word I want to another row / column where there is a Nan. as you can see in the example. I would like to be able to take a descripti...
asked by 30.08.2018 / 21:42
0
answers

How to add the value to a field from a different model in Django?

Good afternoon guys from stackoverflow, my question is the following I am creating a simple user profile model and I want the email to be saved directly from the django-allauth email field. code. from django.contrib.auth.models import User...
asked by 30.08.2018 / 05:29
1
answer

Add operate with dictionary values

I want to make a small converter of letters to numbers (encrypted type). I have created a dictionary with each letter, assigning it a value. The intention is that the user write a word and the program translates the letters into numbers, add it...
asked by 10.09.2018 / 12:46
1
answer

Save modified XML from code with python

I have an xml where I modified the data of a specific tag. Now I just want to save the xml so that it is modified. I hardly know about python, so any advice, welcome. This was the code I used to modify the tag: from lxml import etree doc = et...
asked by 06.09.2018 / 20:00
0
answers

Go through loop for nested in Vue.js

I'm starting with Vue.js and I can not find a way to run a nested for loop. I'm using it with Django, and what I'm trying to do is show all the elements (a list) that there is in another list (a list of feeds with their respective urls) This...
asked by 30.08.2018 / 12:01