Questions tagged as 'python'

0
answers

Emails are not sent from the application

I am sending emails automatically from an application in python, run the whole process but the email is not sent, I hope you can help me, I leave the code @csrf_exempt def tickets_canalizacion(request): try: conexion = conexion_db(...
asked by 20.08.2018 / 16:38
0
answers

Automate discord account

Is there any way to "automate" a discord account? I've been experimenting with bots, but I'm interested in an account being able to send messages by itself without having to be a bot, a greeting.     
asked by 20.08.2018 / 16:19
0
answers

how can I get a value that is within two dictionary

I have the value objeto={canal_venta} but if I print canal_veta it throws me {u'TEXT': u'RED', u'VALUE': u'RED'} that is, how can I access the sales channel value? I was trying this way, but it's wrong print objeto["can...
asked by 20.08.2018 / 15:09
0
answers

Problems when using bb_serial_read python

These are developing a small panel of monitoring in flask and I want to acquire some data from the serial port, the function that I am using to acquire the serial is: import wiringpi import wiringpi2 #as wiringpi import random import time impo...
asked by 29.08.2018 / 00:08
0
answers

This windows version does not support the required bluetooth api

I have a question, I package my files using cx_Frezee in python 3.6.2, and PyQt5.9 However, when executing the .exe file on another machine, I get the following error: Try repacking the file but now on the machine where I got the err...
asked by 15.08.2018 / 08:01
1
answer

function does not return python value

This is a simple program that returns when a number is even or odd. What I want is to practice a function within another function, that's why this simple program. Each of the functions have their respective arguments. The module "returnIfParO...
asked by 24.08.2018 / 22:38
0
answers

How can I make my entrypoint.sh not add any errors once I have generated the logs command in dockers?

**    I'm having problems directly with the entrypoint, it does not let me access the link . Once it looks for the entrypoint, this error occurs:   users_1 | sh: /usr/src/app/entrypoint.sh: not found   I'm working on Windows. When I run...
asked by 16.08.2018 / 01:19
0
answers

The PyQt5 window closes

I just started learning PyQt5 and the following code shows no error but when I run it the window quickly opens and closes: import sys import pandas as pd import matplotlib.pyplot as plt from PyQt5 import uic, QtWidgets qtCreatorFile = "matpl...
asked by 17.08.2018 / 03:07
0
answers

How can I create an executable of PYTHON 3 and work on any platform?

I have a project in python3 with Tkinter library and I want to make executable of this project, use this tool pyinstaller yourprogram.py but when I try it on other platforms it does not open anything. Does anyone know if there is any other tool...
asked by 17.08.2018 / 03:03
0
answers

How to create a trigger with sqlite3 in python

I am making a simple graphical interface of a DB in which a name, password, last name, address and comment are inserted. Then you have four buttons that allow you to create, read, update or delete that information entered from the database. The...
asked by 17.08.2018 / 12:34