ModuleNotFoundError: No module named 'mysite.core'?

I'm trying to implement Social Login in Django. I have already installed social_auth_app_django with below command ...

Python Pandas Error tokenizing data?

I'm trying to use pandas to manipulate a .csv file but I get this error: pandas.parser.CParserError: Error token...

Is there a short-hand for nth root of x in Python?

Simple syntax question. In maths if I have two number 3 and 2 and I wish to calculate 3 to the power of 2 then no s...

3D Array in Python with mutliple data types?

I need to create a 3D array in numpy which has multiple data types. arr[int][str][int] I have tried using np.ne...

TXT DE EXTRATO BANCARIO (LANCAMENTOS)?

Galera, bom dia. Estou com o seguinte problema. Tenho uns arquivos tipo txt de extratos bancarios no qual eu preci...

What is sys.maxint in Python 3??

I've been trying to find out how to represent a maximum integer, and I've read to use "sys.maxint". However, in Pyth...

`elif` in list comprehension conditionals?

Can we use elif in list comprehension? Example : l = [1, 2, 3, 4, 5] for values in l: if values==1: ...

How to delete last item in list??

I have this program that calculates the time taken to answer a specific question, and quits out of the while loop wh...

Matplotlib: “Unknown projection '3d'” error?

I just installed matplotlib and am trying to run one of there example scripts. However I run into the error detailed...

Passing an Array/List into Python?

I've been looking at passing arrays, or lists, as Python tends to call them, into a function. I read something abo...

How do I get the opposite (negation) of a Boolean in Python??

For the following sample: def fuctionName(int, bool): if int in range(...): if bool == True: ...

How to check Django version?

I have to use Python and Django for our application. So I have two versions of Python, 2.6 and 2.7. Now I have insta...

ImportError: No module named six?

I'm trying to build OpenERP project, done with dependencies. It's giving this error now Traceback (most recent call...

How can I access the current executing module or class name in Python??

I would like to be able to dynamically retrieve the current executing module or class name from within an imported m...