Questions tagged as 'python'

0
answers

What is the function of pyqtSignal?

I did a search on the class pyqtSignal and its methods, but I could not understand it well. Someone who works with this class, can you explain your function?     
asked by 01.06.2017 / 16:34
6
answers

Is there a way to print everything without the line break?

I have this code: print "t" print "e" print "s" print "t" print "e" It has the following output: t e s t e What I find annoying "\n" . Is there a way to print everything without the line break?     
asked by 08.08.2016 / 17:51
1
answer

How to exit an input by timeout in Python

I'm making software in python running on raspberry, now it has a data entry on a matrix keyboard ( link ) and another by a bar code reader, which functions like a normal keyboard. I loop through the menu first by listening to the matrix keyb...
asked by 19.05.2017 / 15:22
1
answer

Problem with Classes and Packages in python

I asked a question but I decided to improve it to have a better understanding, and also because nobody could answer for the fact that there is little explanation in this one I will be talking about the packages, ie for each block and a file with...
asked by 20.05.2017 / 16:58
0
answers

Syntax Error in list [closed]

I was doing the following exercise: "Make a program that reads 4 notes, shows notes and media on screen." My program looks like this: lista = [ ] i = 0 soma = 0 while(i < 3): nota = int(input("Digite a nota do aluno:")...
asked by 21.06.2017 / 02:24
1
answer

How to implement a priority queue that still meets other requirements?

I need to implement a priority queue, this queue in addition to the priority, needs to take into account some other requirements, such as switching between services and professionals, in addition to respecting the customer's order of arrival for...
asked by 02.07.2017 / 15:46
0
answers

Python with django is giving problem when migrating a template

   C: \ Program Files Python \ mysite> python manage.py makemigrations polls   Traceback (most recent call last):     File "manage.py", line 22, in       execute_from_command_line (sys.argv)     File "C: \ Python27 \ lib \ site-packages \ django...
asked by 07.05.2017 / 21:06
0
answers

Execution of Python code with execution independently

Good evening. I'm developing a web application of python with django, the goal is to turn on and off devices using relays and arduino, display the power consumption and cost generated. I have the python and arduino code ready, but I'm having tro...
asked by 01.05.2017 / 01:04
0
answers

PYTHON - Difficulties in arranging COH-PIAH code [closed]

Good evening, I'm doing a course in python and this is the last exercise of the course, but I'm having a lot of trouble correcting it, when I send it it gives the following error: "[0.5 points]: Testing text evaluation (Texts = ['Old browsers...
asked by 01.05.2017 / 01:45
1
answer

Read blocks of XML tags based on a search

I have a folder where the insert logs are stored in the database. The log files follow this structure: <item xsi:type="tns:StatusResultReport"> <id xsi:type="xsd:int">1569692</id>...
asked by 20.04.2017 / 14:32