Questions tagged as 'python-3.x'

0
answers

Python - QBasicTimer :: start: QBasicTimer can only be used with threads started with QThread

I'm trying to implement an animation in my project, this animation starts when you press the self.l_entrar button and it should end when the login window closes and there will be the following: however I get the following error: QObj...
asked by 18.10.2018 / 19:53
0
answers

Mouse events do not work correctly in Pygame and Python

I have this: while menu: #capturaEventos() global click global gameOver events = pygame.event.get() for event in events: if event.type == pygame.KEYDOWN: if event.key == pygame.K_q: game...
asked by 19.10.2018 / 20:29
0
answers

how can I make it to split arduino data with raspberry pi 3b + and send them to thingspeak

I want to send data from 3 sensors to Thingspeak using RPi3B + and arduino for ADC conversion using Phyton, how can I get Phyton to divide or concatenate each data in a separate Field so that thingspeak can graph them to me. Thanks import seri...
asked by 18.10.2018 / 04:54
0
answers

Car rental, python have more than one car available

Thanks to the response of @ aeportugal, I have solved the inconvenience of checking if a car is available again to rent, now to do it with 2 or more cars, the level of complexity goes up. This application simulates a system for renting vehicl...
asked by 17.10.2018 / 01:26
0
answers

I have problems with scrapy in anaconda 3

I'm trying to use scrapy in anaconda 3 over windows 10, more specifically in spider. Scrapy as such, it is installed and when I have to import it or create the classes of the examples that I see on the internet, it works perfectly. Now when I t...
asked by 23.10.2018 / 05:26
0
answers

Read a date (datetime) from an Entry (Python 3)

I am trying to define a function (which I have called "nextTime") that allows me to read the date that the user puts in the Entry (or today's date) and modify it with a "Next day" button. The date I want to be written in the dd / mm / yy...
asked by 17.10.2018 / 23:06
0
answers

Help with drawing in PyQt5

I am new to programming and as a project I am making an application for calculating slabs of a building, and an important part of this is that (once the number of slabs and the length of each one have been entered) I can draw the slabs in a sche...
asked by 16.10.2018 / 00:19
0
answers

how to activate SizeGrip in QMainWindow

I would like to know how I can activate the SizeGrip in the qmainwindow, but without the status bar in the MainWindow. this is what I have done: from PyQt5.QtWidgets import QMainWindow,QApplication from PyQt5 import QtCore class Principa...
asked by 15.10.2018 / 18:26
1
answer

Generate a file that stores matches that match the Regular Expression of a reading file

I want to store the data that made match with the regular expression, I want this data to be stored and generate a new file with the name of the file that was read and all these address to a folder import re pattern1 = re.compile(r"(\w+:\w...
asked by 12.10.2018 / 03:28
0
answers

List as an attribute in python!

I have a python task where I should basically create a class that creates a mathematical vector with lists. I do not really know how to formulate a vector as an attribute so that it works correctly. This is what I have been doing until now imp...
asked by 28.10.2018 / 01:56