Questions tagged as 'python-3.x'

0
answers

Unfulfilled dependencies with python-sphinx

Use the sudo purge python command without knowing that you were deleting important files for the ubuntu because you had some problems with the python libraries and wanted to reinstall them all from the beginning. The problem is that when...
asked by 25.05.2017 / 13:07
0
answers

How to create the "pulse" effect of material design in PyQt?

I've been trying to integrate the effect "press" to the buttons or widgets that allow it but I have not been able to do it I started creating environments with HTML and behind python to apply all the necessary effects I understand that the...
asked by 09.05.2017 / 17:26
2
answers

Script does not work outside of IDLE

The following code can be executed from IDLE (a Python IDE) in 32-bit Python 3.6 on Windows 7 (64 bits) import tkinter def algo(): pass def ventanan1(): Ventana1=tkinter.Toplevel() Ventana1.geometry("250x100") Ventana1.title("Ve...
asked by 15.03.2017 / 03:33
1
answer

ValueError: invalid literal for int () with base 10: '*'

I'm starting to program in Python, and my question is this: my program does run, however when wanting to exit the loop, it throws me the following error: def pcn_loop3(): while True: x = int(input("Ingrese un numero ('*' para te...
asked by 18.02.2017 / 19:46
2
answers

Array to list with sublists

I am trying to convert an Array to a list of sublists, such that: input: '004013087631908524907452613506180379198735046740200801375849102802367495060021030' output: [[0,0,4,0,1,3,0,8,7],[6,3,1,9,0,8,5,2,4],[9,0,7,4,5,2,6,1,3],[0,6,1,8,0,3,7,9...
asked by 03.02.2017 / 15:03
1
answer

Tkinter I want to move forward with the enter key once the data is entered between several entry

In the example below, I want to enter the data in each of the cells and when pressing the enter / enter key, accept the data and look for the next one. I would also add if you can put an entry order in the manner of VisualBasic TabIndex. fr...
asked by 22.12.2016 / 22:18
1
answer

Request POST in Django with AJAX function in Angular

I'm doing an AJAX function in angular where I pass a value for POST and it returns an object in JSON. My AJAX function is this: $http.post('/get_professional_info/', {idProfessional: id}).then( function mySucces(response) {...
asked by 02.11.2016 / 19:24
0
answers

How to add 2 Widgets to a LabelWidget of a LabelFrame?

Hi, I'm programming in widget "Title lol?" and the Push me button! Put the two together in the LabelWidget of a labelframe Is it possible? and how can I do it?     
asked by 02.09.2016 / 19:55
1
answer

How to add an item to LabelWidget?

Good morning friends, I'm programming in
asked by 02.09.2016 / 17:58
3
answers

How to avoid repetition of numbers randomly in a range with python3?

I have in mind to make a kind of game type elections where the votes are generated randomly, the problem is that I can not get random to generate random numbers within a range, for example I tell random to interchange 1 and 2 randomly and what I...
asked by 12.08.2016 / 15:21