Questions tagged as 'python-2.7'

1
answer

Problems in Python

Hello, how are you? I was using Python a few days ago and had no problem, yesterday I wanted to modify my code, I had a problem when compiling: UnicodeDecodeError: 'ascii' codec can not decode byte 0xf3 in position 30: ordinal not in range (128)...
asked by 24.02.2018 / 08:46
1
answer

Doubts files and lists python

I'm starting to program in python, and I've been asked to make a menu that asks the user for the code, name, surname, city and add this to a file. I've been thinking and it comes to mind, create a list where to enter the data entered by the u...
asked by 28.02.2018 / 17:33
2
answers

Use end within a function

I can not use end within the print function. I'm using version 2.7 of python. Example: for i in range(10): print("el numero es " + str(i), end=" ") I need you not to make the line break and print it on the same line     
asked by 14.02.2018 / 00:14
1
answer

Python - Pop up window with wait message. Qt, Pyside

I have a program with an interface made with Qt, Pyside. After completing the fields of the interface the program performs actions that take a while. What I would like is to put a pop-up window with a message and that does not let the user...
asked by 15.02.2018 / 07:53
0
answers

Multiprocesses, Threads / threads in pyqt4?

I am trying to enter data in a QListWidget in pyqt4, by means of the keyboard entry raw_input I am entering 5 data but I only want that in the table I get 3, that I already have it, but When I enter the first data round, the GUI is just opened...
asked by 03.02.2018 / 18:41
0
answers

How can I get the Facebook ID of someone with Python?

I am developing a small python code and I need to know how I can automate the process of going from the URL of a Facebook profile to your ID. For example, Sony's Facebook is " link " but the ID is "56232316996" ( link ) (via findmyfbid.com)....
asked by 22.01.2018 / 22:44
0
answers

Top level window is stunned in Python TKinter 2.7

I need support. In the application that I am developing I put a button to open a top level window with the fields that my table has MySQL and so modify any record already created, in turn I want that top level appears a drop-down menu to selec...
asked by 16.01.2018 / 15:09
1
answer

Daughter window widgets created with Toplevel are displayed in the main window

I need help with Python Tkinter 2.7 since I am developing a small graphical interface to manage a database in mysql. What I want is that by pressing a button, it opens a new window Toplevel that already contains labels and Entrys. I tr...
asked by 10.01.2018 / 22:33
1
answer

How to make a multiprocess server? -Server-multiprocessing-

I need a server that can respond to several post requests that are requested and return your respective response. My code represents a simple server but only makes one request at a time. I am new using multiprocessing, I do not know how to im...
asked by 18.01.2018 / 20:55
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