Questions tagged as 'python'

1
answer

Is it possible to enlarge the text in window two?

I made a calculator in python that opens in a window using the library of the same name. Is there any way that the text shown is bigger? This is my code: #!/usr/bin/env python3 from math import * import os import time import sys salir = F...
asked by 06.01.2018 / 05:22
1
answer

Clean LineEdits and Labels when closing Pyside sub window

I have a program with an interface made with Pyside. It is very simple and consists of 2 windows, the main (1st) and a secondary (2nd) with a lot of lines edits and labels to fill. What I would like to know is if there is a way so that when you...
asked by 09.01.2018 / 11:56
0
answers

How to get an email and password encrypted in django url?

Good afternoon dear stackoverflow friends. I know how I can take a email and encrypted password from a url in django thanks. url.py path('validate_email/<slug:username>/(?P<slug:email>[\w-@]+)/<slug:password>', views.va...
asked by 02.01.2018 / 03:24
0
answers

How to know if a client has stopped sending me a message type

I'm creating an online minigame. The server (UDP) is doing it with python. I wonder if there is any way to know from the server if one of the connected clients has stopped sending X message. I need it to manage the disconnections. That's why...
asked by 06.01.2018 / 19:42
0
answers

ModuleNotFoundError: No module named 'pandas_datareader'

In Windows10, I have Anaconda3 5.0.1 installed. This package does not seem to include pandas-datareader . I have verified, running the same script in Linux with the same version of Anaconda3 and installing this package, that the script works co...
asked by 07.01.2018 / 17:29
1
answer

Problem installing a distributable PYTHON package

I am learning to create distributable packages in python. Create a simple one that contains a module with simple arithmetic functions. But when I'm going to install it in the windows console I get the following error and I do not know how to fix...
asked by 03.01.2018 / 15:07
1
answer

custom headers in PhantomJS selenium WebDriver

I need to establish through headers, the browser I use. Because I use PhantomJS, the website I want to go to says that it is not compatible, so now I want to pass the phantomJS as a chrome or firefox. I know it's possible, but I do not find t...
asked by 03.01.2018 / 15:07
1
answer

Python: AttributeError: can not set attribute. I can not create my instance

I have an error creating my instance #! python3 class Profile(object): """contiene la informacion del perfil""" def __init__(self): self.name = None @property def name(self): """name""" return self...
asked by 31.12.2017 / 22:37
1
answer

How to move from one QWidget to another QWidget in PyQt5

I would like to know how I can go by filling out a form designed in PyQt and pressing the enter key jump to the next QlineEdit #Clase heredada de QMainWindow (Constructor de ventanas) class VentanaFresado(QDialog): #Metodo constructor de la cl...
asked by 11.01.2018 / 22:32
3
answers

Exercising nested loops in 3x python

I have been practicing with some simple Python 3x exercises that I got on the web, they are about nested for loops that draw geometric figures, however, there is one that I can not solve for more attempts I have made. The exercise goes like this...
asked by 29.12.2017 / 07:04