Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Share & grow the world's knowledge!

We want to connect the people who have knowledge to the people who need it, to bring together people with different perspectives so they can understand each other better, and to empower everyone to share their knowledge.

What's your question?

Discy Latest Questions

  • 0

I am using Anaconda to work on a Jupyter notebook which displays “Not Trusted” (see on screenshot below).What does it mean? Is it a problem? How can I solve it? {"@context":"http:\/\/\/","@type":"BlogPosting","datePublished":"2020-04-04T07:33:09+00:00","headline":"Jupyter notebook not ...

  • 0

Python 3.8.0 is out, but I haven’t been able to find any post on how to update to python 3.8 using conda – maybe they will wait for the official release? Any suggestions? {"@context":"http:\/\/\/","@type":"BlogPosting","datePublished":"2020-04-04T07:28:54+00:00","headline":"Upgrade to python 3.8 using conda","mainEntityOfPage":{"@type":"WebPage","@id":"https:\/\/\/question\/upgrade-to-python-3-8-using-conda-2\/"},"author":{"@type":"Person","name":"krunalPatel"},"publisher":{"@type":"Organization","name":"Icetutor","logo":{"@type":"ImageObject","url":"","width":0,"height":0}},"dateModified":"2020-04-04T07:28:54+00:00","image":{"@type":"ImageObject","url":"","width":0,"height":0},"name":"Upgrade to ...

  • 0

I have a dictionary like: d = {'a': 1, 'b': 2, 'c': 3, 'd': 4} which I would like to convert to a namedtuple. My current approach is with the following code namedTupleConstructor = namedtuple('myNamedTuple', ' '.join(sorted(d.keys()))) nt= namedTupleConstructor(**d) which produces myNamedTuple(a=1, b=2, c=3, d=4) This works ...

  • 0

In Python, what does “i” represent in .pyi extension? In PEP-484, it mentions .pyi is “a stub file” but no mnemonic help on the extension. So does the “i” mean “Include”? “Implementation”? “Interface”? {"@context":"http:\/\/\/","@type":"BlogPosting","datePublished":"2020-04-04T07:22:17+00:00","headline":"What does \u201ci\u201d represent in Python .pyi ...

  • 0

I am trying to connect to a MySQL server with python connector. I created a new user lcherukuri with the authentication plugin mysql_native_password. But I got the error mysql.connector.errors.NotSupportedError: Authentication plugin ‘caching_sha2_password’ is not supported Can someone help me? import mysql.connectorcnx = mysql.connector.connect(user='lcherukuri', password='password', ...