Top "Python-3.5" questions

The version of the Python programming language released on September 13, 2015.

ImportError: No module named 'django.core.urlresolvers'

I am working on Django project where I need to create a form for inputs. I tried to import reverse …

django python-3.x python-3.5 django-2.0
What are type hints in Python 3.5?

One of the most talked about features in Python 3.5 is type hints. An example of type hints is mentioned in …

python python-3.x python-3.5 type-hinting
'python3' is not recognized as an internal or external command, operable program or batch file

I am using Python 3.5.2 version on Windows 7 and tried using python3 app.py. I am getting this error message: 'python3…

python-3.x python-3.5
pip not working in Python Installation in Windows 10

I downloaded and installed Python 3.5 from https://www.python.org/downloads/ on my Windows 10 machine with IDLE I want to …

pip windows-10 python-3.5
installing cPickle with python 3.5

This might be silly but I am unable to install cPickle with python 3.5 docker image Dockerfile FROM python:3.5-onbuild requirements.…

python docker pickle python-3.5
Difference between numpy dot() and Python 3.5+ matrix multiplication @

I recently moved to Python 3.5 and noticed the new matrix multiplication operator (@) sometimes behaves differently from the numpy dot operator. …

python numpy matrix-multiplication python-3.5
How to specify multiple return types using type-hints

I have a function in python that can either return a bool or a list. Is there a way to …

python python-3.x return-type type-hinting python-3.5
How to set Python3.5.2 as default Python version on CentOS?

Is there a way to set the Python 3.5.2 as the default Python version on CentOS 7? currently, I have Python 2.7 installed …

python python-3.x bash centos python-3.5
sift = cv2.xfeatures2d.SIFT_create() not working even though have contrib installed

So I am trying to use: sift = cv2.xfeatures2d.SIFT_create() and it is coming up with this error: …

opencv python-3.5
ImportError: No module named 'urllib2' Python 3

The below code is working fine on Python 2 but on Python 3 I get the error: "ImportError: No module named 'urllib2…

python urllib2 python-3.5