Questions tagged as 'python'

0
answers

Modify Excel in Python

I'm working with an xlsx that has this data: I need to make a division between cells D and C in this way: D / C and that each value is placed in the cells of column E: In this way, I only need Excel to filter the values of the...
asked by 31.10.2017 / 18:38
1
answer

name '' is not defined [duplicated]

It's a story where you enter names but you're not recognizing them quit NameError: name '' is not defined Apparently it does not recognize the string. girldescription = " " boydescription = " " walkdescription = " " girlname = "...
asked by 03.11.2017 / 16:19
0
answers

Problem with beautifulsoup of python

Good, I'm scraping on a website and I'm having a problem with beautifulsoup when it comes to listing the results, the page I'm dealing with has a structure like this: <tr class="order-by-pos" data-pos="1"> <td class="normal-td td-cent...
asked by 21.11.2017 / 14:13
1
answer

Python - The SQL Server server does not exist or access to it has been denied

The next string connection perfectly connects to the destination server: Import pyodbc cnn = pyodbc.connect('DRIVER={SQL Server};SERVER=MyServer;DATABASE=MyDb;UID=xxxx;PWD=xxxx') Print ("Conectado") But when I try to connect to an in...
asked by 21.11.2017 / 17:20
1
answer

how to use turtle with cordinates and lists?

I'm doing a program in python where I draw a figure in this case a stickman and a square, instead of writing all the commands I want to take the coordinates of a list for example stickman = [x,y,x,y,x,y] and take those coordinates from th...
asked by 09.11.2017 / 18:17
1
answer

full calendar event description description

Today I am working with Full calendar, I made a small modal window so that when I clicked on an event, it showed me its different data, here is my JavaScript code for the calendar: $(document).ready(function () { $('#calendar').fu...
asked by 09.11.2017 / 16:34
0
answers

Odoo v10: How to copy the contents of a One2many field into another One2many field?

I would like to know how to copy a One2many field, that is let's say that I have 2 One2many fields that point to different models, and in both models are the same fields, and I want to create a method where all the contents of the first One2many...
asked by 29.10.2017 / 17:02
1
answer

Run Python from PHP Windows 10

I have downloaded python 2.7 and it has been installed in C: \ python27 I created "MyPython.py": def saludar(): print "Que alegria que alboroto otro perrito piloto" saludar() If I run it in the folder C: \ python27 it works if I pu...
asked by 29.10.2017 / 18:27
1
answer

Variables from one script in another

I want to add a new task to a program made by someone else The other program is composed of several files that work together, but I only need to modify a file which contains only an array with values that it uses for calculation (file name c...
asked by 23.10.2017 / 23:24
1
answer

Python: AttributeError: module 'tweepy' has no attribute 'OAuthHandler'

I am a beginner in programming, and recently I have problems with OAuthHandler authentication, how can I solve it     
asked by 31.10.2017 / 00:51