Questions tagged as 'python'

0
answers

Does Blueprint objects have no root attributes?

I followed the climate chatbot rasa provided by Justina Petraityte, you can find the GitHub repository here . She tries to connect her chatbot to Slack. This implies the use of Flask to create the links. However, unless I'm wrong, it seems that...
asked by 22.05.2018 / 20:56
0
answers

What does io.UnsupportedOperation error mean: fileno inside flask?

I am new to the world of programming and I run into this error when using Flask. I copied and pasted the code found on the official Flask website: from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'He...
asked by 06.05.2018 / 19:22
0
answers

Beautifulsoap loop

I am trying to select a series of elements within a web page. Actually 6. Using this code I get the elements I want but also many elements that I do not want, after the sixth. How could you program a loop that only selects the first 6 element...
asked by 03.05.2018 / 02:53
0
answers

Upload an Image with AsyncImage in Kivy

I have a problem loading images with the object AsyncImage generates an error, when I load images from the internal memory I have no problems. My code is _: #qpy:kivy import kivy kivy.require('1.10.0') from kivy import App from kivy.uix.gr...
asked by 03.05.2018 / 20:44
1
answer

Redirect to another page using AJAX

An AJAX function, which passed a list containing the id of the selected rows of a table and two values of type date that are the start date and the end date. Those values are the process in a view that I have developed with Djan...
asked by 20.08.2018 / 20:48
1
answer

Receive emails from gmail

How can you receive Gmail emails from Python? #Ya logra conectar con gmail. import smtplib, getpass from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText print("email con Gmail") usuario = input("Cuenta de gmail:...
asked by 04.05.2018 / 07:46
1
answer

How can I create an event related to an Entry element in tkinter in pyhton?

You already link events to buttons so when you click on a button something happens. Now I need that when I click on an Entry element, I also link to an event. For example I have a date field in which by default I type "dd / mm / yyyy" and I want...
asked by 30.04.2018 / 09:59
2
answers

Select an element of a website using BeautifulSoup

link Hello good day, I am trying to extract the information from that page with python and BeautifulSoap, so far I have managed to extract the part of the yellow box below and filter it, but the box above it is impossible to extract t...
asked by 01.05.2018 / 01:00
0
answers

Receive request from urls.py

In the user activation system of my platform, the user accesses a link in the following way: http://127.0.0.1:8000/activate/XSWEKklut8tzDdH/[email protected]/ My file urls.py #home/urls.py from django.urls import path, re_path from home...
asked by 29.06.2018 / 20:52
1
answer

Error in tkinter with Toplevel when I close the main window

When instantiating a class, it enters a function that opens a window (toplevel) that the user must choose a certain option so that the program can continue executing, for that in the code I added the statement wait_window() . I happen t...
asked by 27.04.2018 / 15:30