Questions tagged as 'python-2.7'

1
answer

How to print page

I want to create a template for printing data but I'm kind of lost in how to do this, I have a print name button, it's in a table that contains the customer's name, phone number, in it it should take the id of this client and the data of the sam...
asked by 10.05.2016 / 00:52
1
answer

Dictionaries Lists [duplicate]

I have a list of dictionaries like the following and I want to get a list of the ages of the animals of each owner, for example, the animals of the ana has in average x years ... However I am not able to get the ages of the animals related to...
asked by 23.04.2016 / 21:43
0
answers

How to connect the dialog boxes in QTdesigner and execute py from them?

I'm new to programming in python and I already have some doubts. A friend created two codes for me in py using pu 2.7 , Numpy and SciPy . I have created an interface for these codes but I do not know how to connect them. I c...
asked by 15.04.2016 / 02:22
1
answer

How to run an .exe program in the background using python script?

I'm working with the arcgis program that reads python language. I already loaded it in the arcgis python scripts and I need in the background to run a program called gams .. For this I needed to create a python script, to add to the others, that...
asked by 26.04.2016 / 18:37
1
answer

list indexes

My two initial lists have repeated values: B_I = [Cab, Bou, Bou, RFF, RF1, Rf2, Cor] Ba_F = [Bou, Zez1, Zez2, Praca, Sro, Sro, Falag] I deleted the repeats, keeping: Final = [Cab, Bou, RFF, RF1, Rf2, Color, Zez1, Zez2, Praca, Sro, Falag] I...
asked by 20.04.2016 / 17:34
1
answer

Error in running django-admin.py in django 1.9

I'm trying to learn django and would like to understand this notification I get every time I run the django-admin!    Note that only Django core commands are listed as settings are not properly configured (error: Requested setting INSTALLED_A...
asked by 13.03.2016 / 22:24
1
answer

initial index of a list after using set

I used this code initially to aggregate the values of B that had equal value in A into dictionaries: A = [12, 15, 10, 15, 12, 10, 10, 10, 15, 12, 12, 15, 15, 15] B = [0.2, 0.3, 1.1, 0.2, 0.2, 0.7, 0.4, 0.6, 0.1, 0.3...
asked by 07.04.2016 / 14:16
1
answer

Convert a string of numbers into a word

I need to do a function that receives a string consisting of numbers between 2-9 and the output is letters, ie basically the function will work as a keyboard of a mobile phone, where the number '2' will match with 'A', '22' will match 'B', until...
asked by 16.03.2016 / 14:18
1
answer

twisted critical unhandled error no scrapy tutorial

I'm new to programming and I'm trying to do the scrapy tutorial link Using python 2.7 and windows 7. When I run the "scrapy crawl dmoz" cmd command, I get the following information as a message: 2015-07-14 16:11:02 [scrapy] INFO: Scrapy 1...
asked by 14.07.2015 / 21:21
1
answer

Problems with pip installation (python package manager)

I use Mac OS and use HomeBrew as the package manager. I installed python 2.7.10 . Along with this installation was to have occurred with pip . However the following problem occurs: ==> /usr/local/Cellar/python/2.7.10/bin/...
asked by 06.06.2015 / 15:44