Questions tagged as 'python'

0
answers

How to get the title and cover photo of a Google Photos shared album

How do I get the title and cover photo of a Google Photos shared album from the sharing link? If you publish the link to a Google Photos shared album on Facebook, you'll see that Facebook displays the cover photo and album title. I want to do...
asked by 25.04.2017 / 16:11
1
answer

Error whenever I use max python 3.6.1

I am starting in python and in this code I send below whenever the execution of the syntax error invalidates. Can you give me some help? lst=[6,10, 2, 1, 9, 35] lstord= sorted(lst) lstord.reverse() print max (lstord) Thank you     
asked by 10.04.2017 / 11:36
1
answer

List getting empty after loop in python

Hello, I have the following code that does this: It will traverse a vector that has a certain sets of elements (remainder) with the same ID ([1] [1] [1] [2] [2] by example) and then store all elements of the same ID in separate vectors and then...
asked by 07.04.2017 / 06:26
2
answers

Arduino restarting when starting the execution of python code

I'm new to development and especially to using Arduino. I'm developing a web application with python with some functions, one of them is turning on and off a light bulb (my problem). I developed the code, I used some already ready from the web (...
asked by 15.04.2017 / 21:33
0
answers

Create super user inside a docker container that is used with composite

I have a django project that is running with docker-compose, what I need to do and very simple, run python manage.py createsuperuser, however, even setting the command via dockerfile or compose .yml I can not create this super user , does anyone...
asked by 28.03.2017 / 05:07
1
answer

How to escape HTML from a Pyqt entry?

Both Pyqt4 and Pyqt5 can interpret HTML entities. I have a place where the text is displayed in HTML format. However, at the moment of sending a text made by a certain QLineEdit , I need this text to be escaped, so that HTML tags are conve...
asked by 23.03.2017 / 15:42
0
answers

Python web application with Django - Bootstrap and Crispy only work if you have an internet connection

My application uses these two frameworks Boostratp and Crispy, when I'm connected on the internet, everything works perfectly, however when disconnecting the internet the site loses all part of style. By doing a comparison with Java, I use Jq...
asked by 05.03.2017 / 14:46
1
answer

How do I remove this warning?

Error:    C: \ Python3 \ lib \ site-packages \ flask_sqlalchemy__init __. py: 839: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppr...
asked by 05.03.2017 / 17:05
1
answer

Install Mysql for use with Python [duplicate]

I'm a beginner in python and want to know how to install mysql to store terminal information. I use wamp / mysql to develop in php, is it possible to do any relationship between them? (use mysql from wamp to python?) Use Windows 10 and p...
asked by 27.02.2017 / 21:22
1
answer

Error: An operation was attempted on some item that is not a socket!

I was trying to make a simple port scanner, but when it found a port open, the errors that appeared changed from [WinError 10061] No connection could be made because the target machine actively refused them to [WinError 10038] An operation w...
asked by 11.03.2017 / 22:05