Questions tagged as 'python-3.x'

0
answers

Download html post-login screen in python

Hello, I'm wondering if there is any way to get a url from a site, password and login strings and simulate a clause to go to the next page (already logged in) and download the source code from it. Note: I just want to use the urllib library and a...
asked by 04.10.2017 / 03:21
0
answers

I need to know how I can kill / delete an object [closed]

I have a program, in which there are some objects, which in the case are "blobs" or round beings, that through ids (ID numbers) can kill themselves, but I can not do that death actually happens, I tried to use it in the blobs class: def deat...
asked by 05.10.2017 / 04:26
2
answers

Python 3 make the program discover how much of a given digit has a string or a number

It's for python 3: I'm trying to do a pretty basic program to figure out how much of a given digit it has in a string or a number. For example, if the user types 1200, I want to print- "your number has 2 zeros" .... or if the user types "h...
asked by 25.08.2017 / 07:55
0
answers

Change the Label everytime the button is pressed

I'm doing a PYTHON table using FOR, in TKINTER, and I would like every time a new number is placed in ENTRY, the label changes to the new table. For example, a number will be placed in the ENTRY and the person will click the TAB button, when it...
asked by 14.09.2017 / 00:58
1
answer

Problem with argument substitution in function

I have a problem with the arguments that I pass in the function below, I am trying to pass the sha512 argument to hash_type , so that in the code within the function the substitution, and so the hash_target would be passed by the correct ha...
asked by 07.09.2017 / 04:17
1
answer

master parameter = None within the class in the tkinter module (python)

I'm learning the tkinter module in the course of Professor Neri Neitzke, however, I did not understand what the (master = None) parameter is in __init__(self, master=None) of the class below, could anyone explain the functionality of this...
asked by 03.09.2017 / 21:33
1
answer

Sending data from Server to Client (LOCAL)

I need to send data from a server function to the client using the socket library but when sending the information to the client they arrive in white, the variable that receives the functions it prints the contents on the server but on the cli...
asked by 06.09.2017 / 15:47
2
answers

How to install numpy and other modules?

I need help with how to install numpy. I tried to install pygame using pip but it did not work and I was confused on how to install modules or packages. Using python 3.5.0 in Windows 10 pro     
asked by 16.11.2015 / 00:09
0
answers

PyQt5 - MainWindow opens and closes soon

main.py (dialog) if __name__ == '__main__': try: import sys from user_interface.ui.login import Ui_Dialog from PyQt5 import QtCore, QtGui, QtWidgets app = QtWidgets.QApplication(sys.argv) login_wi...
asked by 08.08.2017 / 14:38
0
answers

rpy2.robjects error in ubuntu - LookupError: 'show' not found

I simply can not test functions in python with R. In my jupyter notebook I did: ! pip install rpy2 And when importing robjects gives error: import rpy2.robjects as ro;     
asked by 27.08.2017 / 21:53