Questions tagged as 'python'

0
answers

Can Python be used for heavy work? [closed]

Good morning, I know that python is not a mto performatic language (aims at simplicity) An example here . But does she take it? For example on large servers with a lot of load like Facebook, bank sites etc. Would she be all right? Would it be f...
asked by 26.03.2016 / 15:36
0
answers

python relationship in neo4j

I have the following code where I am migrating a relational database to neo4j. I made a node for each latitude and longitude sensor and a distinct node for every rainfall recorded in my database. db = GraphDatabase("http://localhost:7474",...
asked by 29.03.2016 / 20:36
2
answers

Python: index 5324 is out of bounds for axis 0 with size 5040

Hello, everyone, I have a Python code that reads the 5040 numbers from a TXT file to perform a simulation, as shown in Figure 1 . Next, the code creates a B (s) function, which is used in the Figure 2 commands (I skipped a part of the code...
asked by 25.01.2016 / 21:04
1
answer

Problems in performance testing with Python

A group of friends and I are starting an initiative to create a repo in github in order to test the benchmark performance of http services implemented in several languages and frameworks. One of the languages we've implemented is Python, without...
asked by 06.04.2016 / 16:57
2
answers

Error interpreting special characters

I'm looking for an element, and so far everything's okay, I've tested it before and it worked, but .. using this code driver.find_element_by_xpath('//*[@data-qtip="Configurações"]').click() is an error, and cmd returns me File "chrome.p...
asked by 20.01.2016 / 19:35
1
answer

Module 'image' does not run on iPython3

I'm still a beginner in the programming world, and recently I came across a problem that still has no solution. I'm using an interactive online book to learn python (How to think like a computer scientist). In one of the chapters, the book te...
asked by 17.04.2016 / 01:11
1
answer

ANSI Codes are not working on a QTextEdit

So I'm developing a project in Python and I'm using PyQt5. In the project I have a QTextEdit where I need to put some words in different colors. I'm using ANSI encoding but it's not working, I already tried other modules like colorama...
asked by 27.12.2015 / 01:01
1
answer

Error installing module - egg_info

Good afternoon, I'm using python 3 through Anaconda. I need to install the pattern module and I'm trying to install it by means of eating pip. Pip install pattern I get the following error: "python setup.py egg_info" failed with error c...
asked by 14.02.2016 / 15:51
1
answer

How to run a code outside of a directory in Python? [closed]

I tried to run the code thatissavedonthedesktop.However,PythonShell Could you help me? Thank you, Marcos Miotti     
asked by 04.01.2016 / 19:42
0
answers

Coefficients of a logistic regression [closed]

I would like to know how to show the statistics table of the independent variables of a logistic regression model, in the sklearn library     
asked by 02.12.2015 / 00:40