Posts by Mi Tavares • 35 points
7 posts
-
1
votes1
answer650
viewsQ: How to use the Keyboard library?
How do I use the Keyboard to perform an activity if a certain key is pressed? In my research, I couldn’t find any example in this mold: import keyboard b = 0 if keyboard.press('b'): #sei que o certo…
-
0
votes1
answer14
viewsQ: Manipulation and grid, hbox and Vbox in pyqt4
I’m a beginner and I’m doing a graphical interface with the help of pyqt4. I need to add two columns of buttons there where there’s only one, but every time I try, the button goes to the right and…
-
-1
votes1
answer228
viewsQ: Plotting circles in different planes
I need to plot circles in the plans Zy and zx, but I only get in the plane xy, because when changing the variables x, y and z, forgive the shape of a heart. How can I fix this? import numpy as np…
-
0
votes0
answers16
viewsQ: Argument does not support iteration. How to resolve?
I am trying to apply zip to the x, y and z lists, but when running the program I get the following error: izip argument #1 must support iteration. Can someone help me fix my mistake? from…
-
1
votes0
answers399
viewsQ: Plotting graphics with functions in 3D matplotlib
Good night, you guys! I need to plot an area graph where the height z varies according to any function and its interval depends on the initial point and the final point reported. I found the example…
-
0
votes1
answer25
viewsQ: Organize tabs in pyqt4
Good afternoon, you guys! What command do I use to "break" the line of tabs? I would like 3 tabs to appear on a line and 3 tabs just below it. The skeleton I have regarding tabs is: # layout tab…
-
0
votes1
answer35
viewsQ: Connect a button with a pyqt4 lcd screen
Good afternoon, everyone! I need to develop a calculator in pyqt 4, but I don’t know how to connect the number/operations buttons to the virtual lcd display. I have already researched, but I haven’t…