Dear, I have developed an app with django, but now I have a problem when I want to compile binary (.exe). I'm using Django + PyInstaller, although I can get to get the binary, but when executing it there is an error that obstructs the execution...
I am making an application where I detect data from a sensor from Arduino and I want to print them together with the date and time. The data I read from the Arduino serial port is byte type, while the date and time are str.
I want to concaten...
The method copy() makes a superficial copy of the list, but I do not see any sense to use it, if I want to make a copy of the list I simply do:
lista2 = lista1
Instead of:
lista2 = lista1.copy()
What is the copy() metho...
Hello How can I convert string '[1,2,3,4]' to list in python having the following p>
valor_inicial = str([1,2,3])
Now I want that initial_value to convert it into a list. How can I do it?
I am replicating this code to plot a line and a point but when I try to visualize the graphic it is empty.
%matplotlib inline
from matplotlib import pyplot
from shapely.geometry import LineString, Point, LinearRing
# Datos de entrada
Line =...
Good, we have done this method of genetic algorithms in Python 3 but we have a problem of assignment to the tuple. We have read that a solution could be to convert the tuple to list but we do not know how to do it.
def selection_and_reproducti...
I've been trying to get a graph in real time with matplotlib but it's almost impossible, is there any way I can do this?
The issue is that I am receiving data through the usb port and I am storing them in a list, which is increasing as there...
I have a project called ripso_v2 in python3 and django 1.9 that by now has a couple of apps (created with the startapp and to which I added the file urls.py and forms.py) called "general" and "phva", the main folder of the project and a folder f...
I request support by migrating the version that is currently installed in "Azure" when creating an application in Django in " Kudu Engine ".
The following image shows the installed version " Python 2.7.15 ".
A thousand thanks
I'm doing a small example with classes in Python but I want you to print a list of elements so use __str__ but I mark the error that it was not a type string here is my code:
class intSet(object):
def __init__(self):...